Is it possible to copy paste with QEMU?

I’m running Arch on my machine with Kali in a QEMU VM and I’d like to copy paste between the two. How can this be done?

  • PlexSheep@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    8 months ago

    Just in case you are on a desktop and using qemu for local virtualisation, I would recommend you use virt-manager.

    Besides that, set up spice or vnc daemons in the guests, as others have said.

    Just in case You’re virtualising Kali Linux, use their provided qemu image, you won’t have to worry about it. If you don’t know what Kali is, don’t use it.

    • stark@qlemmy.comOP
      link
      fedilink
      arrow-up
      2
      ·
      8 months ago

      Thank you for the virt-manager recommendation. I’ll look into it.

      I did build Kali from their ISO but I’ll give their provided image a try. I do know what Kali is and what it is used for. I’ll be using it for TryHackMe labs.

      • PlexSheep@feddit.de
        link
        fedilink
        arrow-up
        3
        ·
        8 months ago

        Okay, so my guess was right. Don’t bother setting things up manually, qemu and libvirt are hellishly complex. If you don’t need something super special, use virt-manager.

        Just use the provided qemu image on the Kali site, import it, and you’re good to go. Don’t worry about the other stuff.

        Depending in your screen you might have to set a custom screen resolution, but if you’re using something standard, xfce should automatically recognize everything.

        A little tip: set up an ssh server on the VM and upload an ssh key, that way you can get a Kali she’ll quickly from the comfort of your hosts terminal.