Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

qemu/kvm spice console problem

866 views
Skip to first unread message

Gary Dale

unread,
Dec 28, 2017, 12:00:05 AM12/28/17
to
When I try to start a virtual machine, I get the error:

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

on whichever VM I try to start.

The Virtual Machine Manager shows the VM is running but I can't connect.
The system running the VMs is Debian/Stretch while my workstation is
Debian/Buster. This worked until fairly recently (I don't start up the
VMs too often, but I'm sure I did sometime in the last month). So far as
I can tell, spice is running on both the host and client machines.

Any ideas on what's changed to cause this problem?

john doe

unread,
Dec 28, 2017, 2:00:03 AM12/28/17
to
Do you have the "missing" package installed?
The error seems to be common when searching online.

https://packages.debian.org/search?keywords=spice-client-gtk

--
John Doe

Celejar

unread,
Dec 28, 2017, 4:10:06 PM12/28/17
to
No, but I do remember that when I installed virt* packages, it took a
fair bit of sleuthing / trial and error to figure out which spice
packages needed to be installed to get the graphical console to work.
Here's what I currently have:

$ apt list --installed '*spice*'
Listing... Done
gir1.2-spice-client-glib-2.0/stable,now 0.33-3.3 amd64 [installed,automatic]
gir1.2-spice-client-gtk-3.0/stable,now 0.33-3.3 amd64 [installed,automatic]
libspice-client-glib-2.0-8/stable,now 0.33-3.3 amd64 [installed,automatic]
libspice-client-gtk-3.0-5/stable,now 0.33-3.3 amd64 [installed,automatic]
libspice-server1/stable,stable,now 0.12.8-2.1+deb9u1 amd64 [installed,automatic]
spice-client-glib-usb-acl-helper/stable,now 0.33-3.3 amd64 [installed,automatic]

Celejar

Zoltán Herman

unread,
Dec 28, 2017, 4:30:06 PM12/28/17
to
If started in terminal as root?

Celejar

unread,
Dec 28, 2017, 7:10:05 PM12/28/17
to
On Thu, 28 Dec 2017 22:23:05 +0100
Zoltán Herman <zolt...@gmail.com> wrote:

> If started in terminal as root?

I'm not sure what you're asking, but the graphical console works here
even when I launch virt-manager as my regular user (although that user
is a member of groups libvirt, kvm, and adm).

Also, I should note that I'm running Stretch.
Celejar

Gary Dale

unread,
Dec 28, 2017, 11:30:03 PM12/28/17
to
Yes. I have the package installed on both the host and client machines.

Gary Dale

unread,
Dec 28, 2017, 11:40:04 PM12/28/17
to
gir1.2-spiceclientglib-2.0/testing,now 0.34-1.1 amd64 [installed,automatic]
libspice-client-glib-2.0-8/testing,now 0.34-1.1 amd64 [installed,automatic]
libspice-client-gtk-3.0-5/testing,now 0.34-1.1 amd64 [installed,automatic]
libspice-server1/testing,now 0.14.0-1 amd64 [installed,automatic]
spice-client-glib-usb-acl-helper/testing,now 0.34-1.1 amd64
[installed,automatic]
spice-client-gtk/testing,now 0.34-1.1 amd64 [installed]

The missing package seems to be gir1.2-spice-client-gtk-3.0. Thanks!
0 new messages