Home » How To » HowTo: Getting the Spice client up and working on Ubuntu 12.10 with libvirt / virt-manager

HowTo: Getting the Spice client up and working on Ubuntu 12.10 with libvirt / virt-manager

Unfortunately, when you install the Spice client on Ubuntu 12.x, it doesn’t include everything you need to get it to workUbuntu

sudo apt-get update
sudo apt-get install spice-client-gtk qemu-kvm-spice python-spice-client-gtk

If you’re up to date on your 12.10 patches, you shouldn’t need to modify the libvirt-qemu file for Apparmor but if you have troubles, add it in to /etc/apparmor.d/abstractions/libvirt-qemu:

/usr/bin/qemu-system-i386-spice rmix,
/usr/bin/qemu-system-x86_64-spice rmix,
/run/shm/spice.* rwixm,
/run/shm rw,

As I’m running virt-manager on my laptop and connecting to a server, I created an ssh key so I don’t have to add my password over and over again. See ssh-keygen.

Adding a remote server to virt-manager is very easy. File -> Add Connection
Screenshot from 2013-02-10 13:56:27

Share Button

Comments

  1. Ric Moore says:

    ” I get this error The remote host requires a version of netcat/nc
    which supports the -U option.” I had installed the netcat package, and still have this error. So I installed ncat-openbsd and STILL get this error. Thanks for any consideration! Ric

    1. Hi Ric,

      Did you run sudo update-alternatives –config nc to select it?

      http://stackoverflow.com/questions/10065993/how-to-switch-to-netcat-traditional-in-ubuntu

      Jason

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*

Facebook login by WP-FB-AutoConnect