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?

  • Dandroid@dandroid.app
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    I assume you’re using a GUI or else you could just ssh. I also assume you’re currently using a VNC viewer of some sort?

    RDP does support copy/paste. I haven’t tried it with a qemu VM, only a VMware VM (what my work uses), and it mostly works. I have xrdp running on the target device, then I just use Windows’ built-in RDP client to log in.

    • stark@qlemmy.comOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      No VNC viewer. QEMU works like VirtualBox. It’s just a VM running on your computer. When QEMU is ran it opens a graphical display of the VM’s Desktop.

      I’d be interested in moving the Kali VM to my home server and RDP into it. I’m familiar with RDP on Windows but I’m not sure how to RDP from Linux (Arch) to Linux (Kali). I suppose something like Remmina would do the job, though I found a lot of input lag with it.

      • damium@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        QEMU supports either spice, vnc or sdl graphics output. If you want to copy/paste you need to use spice and install the spice agent on the VM.