[SOLVED] Spice with Kvm

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Spice with Kvm

Postby hman » Nov 2nd, '14, 14:37

Hi all,
yesterday i tryed to use kvm to manage some of my virtual machines and i also tryed spice as remote control instead vnc. Spice is great :o
i only need to install some packages in guest os and add a channel in virt-manager.

My problem now is how use clipboard (copy and paste). Seems that spice support it using spice-vdagentd in guest and host os. So i builded and installed on my Mga4 and in my guest os and spicy (spice gtk client) say my "agent:yes" so two agents should work but when i try to copy and past between 2 os, i have nothing.

Could you help me ?

thanks
Armando
Last edited by hman on Nov 6th, '14, 23:04, edited 1 time in total.
Blog: http://www.integrazioneweb.com/

Some projects:
- Monosim github.com/armando-basile/monosim/
- Comex-Project github.com/armando-basile/comex-project
- Sagent github.com/armando-basile/sagent
hman
 
Posts: 34
Joined: Feb 20th, '12, 11:56

Re: Spice with Kvm

Postby doktor5000 » Nov 2nd, '14, 15:16

Mageia 4 is the host OS, what is the guest OS?
In the guest, please show the output as root of
Code: Select all
service status spice-vdagent


You also need to add a serial device to the guest. Check e.g. http://www.linux-kvm.org/page/SPICE
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18061
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Spice with Kvm

Postby hman » Nov 2nd, '14, 19:03

Hi doktor5000,

i have Mga4 as host and CentOS 7 as guest. In guest i installed:
spice-gtk-tools-0.20-8.el7.x86_64
spice-server-0.12.4-5.el7.x86_64
spice-gtk3-0.20-8.el7.x86_64
spice-xpi-2.8-5.el7.x86_64
spice-gtk-0.20-8.el7.x86_64
spice-vdagent-0.15.0-3.el7.centos.x86_64
spice-glib-0.20-8.el7.x86_64
spice-protocol-0.12.6-2.el7.noarch
spice-gtk-python-0.20-8.el7.x86_64

as you can see in status bar, spice client launched on host detect agent in guest
guest_with_vdagent.png
guest_with_vdagent.png (331.42 KiB) Viewed 1565 times


this is my virt-manager config
host_virt-manager.png
host_virt-manager.png (71.48 KiB) Viewed 1565 times


i checked also qemu command in /var/log/libvirt/qemu and it have correct parameters. I using cinnamon on host.
Blog: http://www.integrazioneweb.com/

Some projects:
- Monosim github.com/armando-basile/monosim/
- Comex-Project github.com/armando-basile/comex-project
- Sagent github.com/armando-basile/sagent
hman
 
Posts: 34
Joined: Feb 20th, '12, 11:56

Re: [SOLVED] Spice with Kvm

Postby hman » Nov 6th, '14, 23:05

Finally i tryed another spice client:
Code: Select all
$ spicec -h localhost -p 5900


it work fine with copy and paste :)
Blog: http://www.integrazioneweb.com/

Some projects:
- Monosim github.com/armando-basile/monosim/
- Comex-Project github.com/armando-basile/comex-project
- Sagent github.com/armando-basile/sagent
hman
 
Posts: 34
Joined: Feb 20th, '12, 11:56


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest