USB redirection fails with spice-client-error-quark: ... 'Not authorized' (0)

Bug #1443954 reported by iroli on 2015-04-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virt-manager (Ubuntu)

Bug Description

This one took me some hours and occurred on Ubuntu GNOME.
After an update USB redirection stopped working using virt-manager with the error message:

spice-client-error-quark: Could not redirect ... at ... : Error setting USB device node ACL: 'Not authorized' (0)

Turns out some missing dependencies caused this one, i.e.:

$ sudo apt-get install gir1.2-spice-client-gtk-2.0 gir1.2-spice-client-glib-2.0 gir1.2-spice-client-gtk-3.0

(solved the problem, IIRC only the -2.0 packages were actually installed).

Are those dependencies missing ?

Thanks for reporting this bug.

Looking at my system,

100 ✗ serge@sl ~ $ apt-cache rdepends gir1.2-spice-client-glib-2.0
Reverse Depends:
0 ✓ serge@sl ~ $ apt-cache rdepends gir1.2-spice-client-gtk-2.0
Reverse Depends:

0 ✓ serge@sl ~ $ apt-cache show virt-manager| grep spice
Recommends: libvirt-bin (>= 1.2.7), gnome-icon-theme, gir1.2-spice-client-gtk-3.0

127 ✗ serge@sl ~ $ apt-cache show gir1.2-spice-client-gtk-3.0 | grep gir1.2
Package: gir1.2-spice-client-gtk-3.0
Depends: gir1.2-glib-2.0, gir1.2-gtk-3.0, gir1.2-spice-client-glib-2.0 (= 0.25-1build1), libspice-client-gtk-3.0-4 (>= 0.14)
Filename: pool/universe/s/spice-gtk/gir1.2-spice-client-gtk-3.0_0.25-1build1_amd64.deb

So the problem appears to be that gir1.2-spice-client-gtk-3.0 is only recommended,
not depended upon, by virt-manager.

(If I'm reading this right)

Changed in virt-manager (Ubuntu):
status: New → Triaged
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers