this post was submitted on 02 Nov 2023
28 points (96.7% liked)

Linux

48214 readers
634 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago (2 children)

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.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

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 3 points 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.