Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a RHEL 6 Desktop with a windows KVM. How could I get the clipboard working, just as there is a solution in VirtualBox to share the clipboard between host and guest?

share|improve this question
Have you tried using SPICE? Install also the vdagent in the guest and use a proper client (e.g. spicy/spicec/remote-viewer) to have it integrated on the host. –  gertvdijk Dec 21 '12 at 8:45

2 Answers 2

up vote 2 down vote accepted

As already mentioned by @gertvdijk, SPICE is KVM's own way to address that.

Otherwise, a more generic solution that works equally well for any type of virtual and real machine is to use remote desktop or VNC to connect to the machine itself.

If you're not using SPICE, you're using VNC already anyway. However, in that case, the VNC server is provided by the host (which serves the video memory, keyboard and mouse of the Guest, but has no access to the Guest's clipboard which is something internal to the desktop environment inside the Guest).

By moving the VNC server to the Guest, you put it in a place where it has access to the clipboard.

Remote Desktop has a few other advantage over VNC (like file, device and sound sharing).

share|improve this answer

Spice supports clipboard. But you must install spice-guest program in vm. Otherwise, clipboard will not work.

You can enable clipboard by select checkbox in spice-gtk program.Then you can copy from client to paste in vm,you can also copy from vm to paste in client.

share|improve this answer
Hi and welcome to Unix and Linux. Could you explain how to do this in a little bit more detail and also explain what Spice is in your answer? I did not downvote you but it's likely someone else did because your answer didn't include much details. –  slm Aug 13 '13 at 12:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.