Spice doesn't work from Virtual Machine Manager

Questions about virtualization software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dobriain
Level 2
Level 2
Posts: 85
Joined: Sat Dec 06, 2014 1:26 pm

Spice doesn't work from Virtual Machine Manager

Post 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
M1cha3lK

Re: Spice doesn't work from Virtual Machine Manager

Post 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?
gdi2k

Re: Spice doesn't work from Virtual Machine Manager

Post 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 removed 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

Re: Spice doesn't work from Virtual Machine Manager

Post by mverkerk »

Aditionally install:

gir1.2-spice-client-gtk-3.0
princefarhaan

Re: Spice doesn't work from Virtual Machine Manager

Post by princefarhaan »

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

Re: Spice doesn't work from Virtual Machine Manager

Post by schlameel »

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

Re: Spice doesn't work from Virtual Machine Manager

Post by fatuus »

just to say this worked fine on my 18.1 Serena as well
DareDevil73
Level 1
Level 1
Posts: 28
Joined: Sat Jul 01, 2017 5:53 am

Re: Spice doesn't work from Virtual Machine Manager

Post by DareDevil73 »

It worked for me too, thank you!
g43xh

Re: Spice doesn't work from Virtual Machine Manager

Post by g43xh »

Nice ! Worked for me too :)
BrownBear

Re: Spice doesn't work from Virtual Machine Manager

Post 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
eugenevdmhost
Level 1
Level 1
Posts: 3
Joined: Mon Sep 30, 2019 5:34 am

Re: Spice doesn't work from Virtual Machine Manager

Post by eugenevdmhost »

I concur on later version of Mint (e.g. Linux Mint 20 Ulyana)

> There is no gir1.2-spice-client-gtk-3.0 in Ubuntu 18.04/Mint 19 because it was renamed.

you need this:

> sudo apt install gir1.2-spiceclientgtk-3.0
linxmintq
Level 3
Level 3
Posts: 177
Joined: Mon Oct 13, 2014 8:01 am

Re: Spice doesn't work from Virtual Machine Manager

Post by linxmintq »

In Linux Mint 20.1 , no this python-spice-client-gtk present , which allows guest display.
User avatar
Moem
Level 22
Level 22
Posts: 16226
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Spice doesn't work from Virtual Machine Manager

Post by Moem »

Mod note:
Let's stop digging up this long buried corpse of a thread. If there is anything new to say about the subject, please start a new topic, as always. Cheers!
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Locked

Return to “Virtual Machines”