Spice doesn't work from Virtual Machine Manager

Questions about virtualization software
Forum rules
Before you post please read how to get help
dobriain
Level 1
Level 1
Posts: 42
Joined: Sat Dec 06, 2014 1:26 pm

Spice doesn't work from Virtual Machine Manager

Postby dobriain » Fri Aug 05, 2016 10:02 am

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

M1cha3lK
Level 1
Level 1
Posts: 8
Joined: Fri Nov 22, 2013 7:03 am

Re: Spice doesn't work from Virtual Machine Manager

Postby M1cha3lK » Wed Aug 31, 2016 5:56 pm

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?

gdi2k
Level 1
Level 1
Posts: 1
Joined: Sun Oct 16, 2016 5:43 am

Re: Spice doesn't work from Virtual Machine Manager

Postby gdi2k » Sun Oct 16, 2016 6:15 am

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?

mverkerk
Level 1
Level 1
Posts: 1
Joined: Thu Oct 20, 2016 4:20 pm

Re: Spice doesn't work from Virtual Machine Manager

Postby mverkerk » Thu Oct 20, 2016 4:24 pm

Aditionally install:

gir1.2-spice-client-gtk-3.0

princefarhaan
Level 1
Level 1
Posts: 2
Joined: Sun Oct 30, 2016 3:32 am

Re: Spice doesn't work from Virtual Machine Manager

Postby princefarhaan » Sun Oct 30, 2016 3:34 am

Installing the above fixed the issue for me on mint 18 mate 64 bit. Thanks mverkerk.

schlameel
Level 1
Level 1
Posts: 2
Joined: Sun Sep 22, 2013 11:42 pm

Re: Spice doesn't work from Virtual Machine Manager

Postby schlameel » Mon Feb 27, 2017 1:38 pm

Worked for me as well on 18.1 Serena Cinnamon. Thanks.

fatuus
Level 1
Level 1
Posts: 1
Joined: Fri Jun 23, 2017 6:32 am

Re: Spice doesn't work from Virtual Machine Manager

Postby fatuus » Fri Jun 23, 2017 6:35 am

just to say this worked fine on my 18.1 Serena as well

DareDevil73
Level 1
Level 1
Posts: 3
Joined: Sat Jul 01, 2017 5:53 am

Re: Spice doesn't work from Virtual Machine Manager

Postby DareDevil73 » Sat Jul 29, 2017 5:04 pm

It worked for me too, thank you!

g43xh
Level 1
Level 1
Posts: 1
Joined: Thu Oct 05, 2017 9:50 am

Re: Spice doesn't work from Virtual Machine Manager

Postby g43xh » Thu Oct 05, 2017 9:52 am

Nice ! Worked for me too :)


Return to “Virtualization”