Page 1 of 1

Spice doesn't work from Virtual Machine Manager

Posted: Fri Aug 05, 2016 10:02 am
by dobriain
Hi,

I installed KVM and built two VM's on my Linux Mint Rosa. When I try open a VM domain from the Virtual Machine Manager I get the following error message.

Error connecting to graphical console. Error opening Spice console, SpiceClientGtk missing.

The VM settings in the manager relating to graphics are:
Display: Spice
Video: qxl

I can access the VM from the following command OK:

Code: Select all

$ virt-viewer Ubuntu-Desktop
Here is the spice stuff that is installed.

Code: Select all

$ dpkg -l | grep spice
ii  libspice-client-glib-2.0-8:amd64  0.30-1              amd64   GObject for communicating with Spice servers (runtime library)
ii  libspice-client-gtk-2.0-4:amd64   0.30-1              amd64   GTK2 widget for SPICE clients (runtime library)
ii  libspice-client-gtk-3.0-4:amd64   0.30-1              amd64   GTK3 widget for SPICE clients (runtime library)
ii  libspice-server1:amd64            0.12.6-4ubuntu0.1   amd64   Implements the server side of the SPICE protocol
ii  python-spice-client-gtk           0.30-1              amd64   GTK2 widget for SPICE clients (Python binding)
ii  spice-client-glib-usb-acl-helper  0.30-1              amd64   Helper tool to validate usb ACLs
I have tried installing the spice-vdagent on the VMs but that makes no difference.

Code: Select all

UbuntuVM~$ sudo apt-get install spice-vdagent

Code: Select all

UbuntuVM~$ systemctl | grep spice
spice-vdagentd.service                                                                   loaded active running   Agent daemon for Spice guests

Re: Spice doesn't work from Virtual Machine Manager

Posted: Wed Aug 31, 2016 5:56 pm
by M1cha3lK
I'm having exactly the same problem.

The strange thing is that it works in Xubuntu and Peppermint (my other machines) which are all based on the same Ubuntu LTS version as Linux Mint 18 Sarah?

Re: Spice doesn't work from Virtual Machine Manager

Posted: Sun Oct 16, 2016 6:15 am
by gdi2k
I've got exactly the same issue, also on Mint 18 (Sarah).

I've found this post with people having the same issue:
https://www.reddit.com/r/linuxmint/comm ... rking_was/

The solution there was "I just took an update for virt-manager and now everything is working" - but I have no idea what that really means. I tried the GetDeb PPA to install virt-manager 1.4.0 (up from version 1.3.2 bundled with Sarah) but it made no difference.

Was anyone able to find a solution to this?

Re: Spice doesn't work from Virtual Machine Manager

Posted: Thu Oct 20, 2016 4:24 pm
by mverkerk
Aditionally install:

gir1.2-spice-client-gtk-3.0

Re: Spice doesn't work from Virtual Machine Manager

Posted: Sun Oct 30, 2016 3:34 am
by princefarhaan
Installing the above fixed the issue for me on mint 18 mate 64 bit. Thanks mverkerk.

Re: Spice doesn't work from Virtual Machine Manager

Posted: Mon Feb 27, 2017 1:38 pm
by schlameel
Worked for me as well on 18.1 Serena Cinnamon. Thanks.

Re: Spice doesn't work from Virtual Machine Manager

Posted: Fri Jun 23, 2017 6:35 am
by fatuus
just to say this worked fine on my 18.1 Serena as well

Re: Spice doesn't work from Virtual Machine Manager

Posted: Sat Jul 29, 2017 5:04 pm
by DareDevil73
It worked for me too, thank you!

Re: Spice doesn't work from Virtual Machine Manager

Posted: Thu Oct 05, 2017 9:52 am
by g43xh
Nice ! Worked for me too :)

Re: Spice doesn't work from Virtual Machine Manager

Posted: Sat Aug 04, 2018 6:42 am
by BrownBear
There is no gir1.2-spice-client-gtk-3.0 in Ubuntu 18.04/Mint 19 because it was renamed.
sudo apt install gir1.2-spiceclientgtk-3.0