Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> linux kvm how to share clipboard between host and gues, KVM clipboard sharing
helikaon
 Posted: Jun 28 2012, 02:54 PM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 836
Member No.: 4
Joined: 8-April 11









Hi guys,
i use KVM on my laptop (i'm simply fan, even though the Virtual Box would be easier) and had problem with sharing Clipboard contents in between host and guest (unfortunatelly KVM doesn't have this 'shared clipboard' feature like the e.g. Virtual Box has.
On laptop it is annoying.
Gave it another try today and finally found 'Synergy' (open source project).
url: Synergy

It enable this feature over network (which is perfectly feasible for KVM host / guests).

Works like charm for me. It is simple server/client app. I installed 'server' part on my linux host and 'client part on my windows kvm guest.
Now, finally, can copy & paste easy smile.gif

cheers,

--------------------
PMEmail Poster
^
AndrewSerk
 Posted: Jun 28 2012, 03:31 PM
Quote Post


SLF Moderator
*****

Group: Moderators
Posts: 457
Member No.: 54
Joined: 14-April 11









Hi helikaon,

That is cool feature.

For those that use spice-server/spice-client that function is also available, though I have never tried to used that function. see: http://spice-space.org/page/Whiteboard/AgentProtocol

With spice you are suppose to be able to share USB ports between a remote host/guest also, but again I have not tried that either.

PM
^
Nux
 Posted: Jun 30 2012, 12:44 AM
Quote Post


SLF Rookie
*

Group: Members
Posts: 17
Member No.: 158
Joined: 12-May 11









QUOTE (helikaon @ Jun 28 2012, 02:54 PM)
Hi guys,
i use KVM on my laptop (i'm simply fan, even though the Virtual Box would be easier) and had problem with sharing Clipboard contents in between host and guest (unfortunatelly KVM doesn't have this 'shared clipboard' feature like the e.g. Virtual Box has.
On laptop it is annoying.
Gave it another try today and finally found 'Synergy' (open source project).
url: Synergy

It enable this feature over network (which is perfectly feasible for KVM host / guests).

Works like charm for me. It is simple server/client app. I installed 'server' part on my linux host and 'client part on my windows kvm guest.
Now, finally, can copy & paste easy  smile.gif

cheers,


Enable Spice display and QXL virtual video card for the guest in virt-manager and inside the guest install and make sure it's started the spice-vdagent package.

CODE

Description :
Spice agent for Linux guests offering the following features:

Features:
* Client mouse mode (no need to grab mouse by client, no mouse lag)
 this is handled by the daemon by feeding mouse events into the kernel
 via uinput. This will only work if the active X-session is running a
 spice-vdagent process so that its resolution can be determined.
* Automatic adjustment of the X-session resolution to the client resolution
* Support of copy and paste (text and images) between the active X-session
 and the client


This needs a graphical interface running of course.
Vdagent can also be installed in Windows guests.

--------------------
Check out my EL6-based desktop remix:
http://li.nux.ro/stella

PMUsers Website
^
AndrewSerk
 Posted: Jul 10 2012, 02:56 PM
Quote Post


SLF Moderator
*****

Group: Moderators
Posts: 457
Member No.: 54
Joined: 14-April 11









I can now confirm that cut and past from guest to guest or host to guest works with spice.

Just as Nux said make sure to have the vdagent running in the guest and have the service spice-vdagentd running on the host.

Hope this helps,
PM
^
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll