Содержание
- Arch Linux
- #1 2016-03-14 11:24:33
- [workaround] spice-client-error-quark: Could not redirect
- #2 2016-03-14 14:19:25
- Re: [workaround] spice-client-error-quark: Could not redirect
- #3 2016-03-14 20:44:26
- Re: [workaround] spice-client-error-quark: Could not redirect
- #4 2016-03-14 21:39:56
- Re: [workaround] spice-client-error-quark: Could not redirect
- #5 2016-03-24 15:25:41
- Re: [workaround] spice-client-error-quark: Could not redirect
- #6 2016-03-29 01:07:01
- Re: [workaround] spice-client-error-quark: Could not redirect
- #7 2016-03-29 13:57:21
- Re: [workaround] spice-client-error-quark: Could not redirect
- #8 2016-04-03 04:10:26
- Re: [workaround] spice-client-error-quark: Could not redirect
- #9 2016-04-07 00:37:56
- Re: [workaround] spice-client-error-quark: Could not redirect
- #10 2016-04-17 13:37:44
- Re: [workaround] spice-client-error-quark: Could not redirect
- #11 2016-04-17 21:06:56
- Re: [workaround] spice-client-error-quark: Could not redirect
- #12 2016-04-18 21:38:45
- Re: [workaround] spice-client-error-quark: Could not redirect
- #13 2016-04-19 10:47:28
- Re: [workaround] spice-client-error-quark: Could not redirect
- #14 2016-04-19 16:43:05
- Re: [workaround] spice-client-error-quark: Could not redirect
- #15 2016-04-19 16:44:37
- Re: [workaround] spice-client-error-quark: Could not redirect
- #16 2016-04-19 21:39:46
- Re: [workaround] spice-client-error-quark: Could not redirect
- #17 2016-04-20 12:07:13
- Re: [workaround] spice-client-error-quark: Could not redirect
- #18 2016-04-22 22:35:45
- Re: [workaround] spice-client-error-quark: Could not redirect
- #19 2016-04-23 08:09:28
- Re: [workaround] spice-client-error-quark: Could not redirect
- USB redirection fails with spice-client-error-quark: . ‘Not authorized’ (0)
- Bug Description
- Arch Linux
- FS#49179 — [spice-gtk3] spice-client-error-quark usb redirection failed. acces denied insufficient permissions
- Details
- Spice client error quark
- Stability Level
- Functions
- Properties
- Signals
- Types and Values
- Object Hierarchy
- Includes
- Description
- Functions
- spice_session_new ()
- Returns
- spice_session_connect ()
- Parameters
- Returns
- spice_session_open_fd ()
Arch Linux
You are not logged in.
#1 2016-03-14 11:24:33
[workaround] spice-client-error-quark: Could not redirect
I have a problem with redirecting USB devices in virt-manager.
It worked some time ago without any hassle but now when I try to redirect usb printer or any other device I get following error message:
It says I have insufficient permissions but I haven’t changed anything in perms since I installed virt-manager, libvirtd and qemu. I run my guests as nobody:kvm (default config). I’m asked about my user’s password when starting virt-manager.
It looks like some recent (about two weeks period) updated messed up with usb redirection or I’m missing some configuration.
Last edited by mmarzantowicz (2016-03-14 23:47:04)
#2 2016-03-14 14:19:25
Re: [workaround] spice-client-error-quark: Could not redirect
Running virtual machine as root:root doesn’t help either.
I also checked that /usr/bin/spice-client-glib-usb-acl-helper has suid set (according to some recommendation found on other forums).
Nothing helped so far. I hope it’s not udev/systemd related.
#3 2016-03-14 20:44:26
Re: [workaround] spice-client-error-quark: Could not redirect
Seems to be something with the recent spice-gtk3 and spice-glib package.
My workaround was to force remove spice-gtk3 and spice-glib, install spice-glib, remove some of the files that preventend a downgrade and install the old spice-gtk3 package from the pacman cache.
#4 2016-03-14 21:39:56
Re: [workaround] spice-client-error-quark: Could not redirect
It works indeed. It’s a bit complicated but thanks to your instructions I managed to make USB redirection work again.
Someone knows if it is a know and reported bug or should we file one somewhere?
#5 2016-03-24 15:25:41
Re: [workaround] spice-client-error-quark: Could not redirect
I have faced the same issue — glad, that I’m not the only one. I could «temporarily» fix this issue by starting virt-manager as root via console: sudo virt-manager. I’ve tried several configurations, added my user to kvm and libvirt groups, but nothing helped. Wonder, what’s the problem, cause this used to work without any hassle in the past.
#6 2016-03-29 01:07:01
Re: [workaround] spice-client-error-quark: Could not redirect
I had the exact same error, so it’s definitely a bug upstream somewhere. Unfortunately, you’re fix didn’t work for me. After I ran the commands I just got another error:
spice-client-error-quark: Could not redirect Silicon Labs CP2104 USB to UART Bridge Controller [—] at 1-3: Error setting USB device node ACL: ‘Not authorized’ (0)
#7 2016-03-29 13:57:21
Re: [workaround] spice-client-error-quark: Could not redirect
@windozupdate: I’ve read on another forum that for ACL errors the following command might help: chmod u+s /usr/bin/spice-client-glib-usb-acl-helper
#8 2016-04-03 04:10:26
Re: [workaround] spice-client-error-quark: Could not redirect
@tolga9009 tried your method, didn’t work
#9 2016-04-07 00:37:56
Re: [workaround] spice-client-error-quark: Could not redirect
Upstream packages are bugged. Issue https://bugs.archlinux.org/task/48829 seems to be related. It has been updated to 0.31 upstream and flagged out-of-date in Arch repo on 21th march. The update should be available soon (and most probably fixes our issues). Also, they have changed **alot** USB related stuff after releasing 0.31, better be prepared to downgrade next time.
#10 2016-04-17 13:37:44
Re: [workaround] spice-client-error-quark: Could not redirect
Here are PKGBUILD’s for spice-glib, spice-gtk3, and spice-protocol (version 0.31):
#11 2016-04-17 21:06:56
Re: [workaround] spice-client-error-quark: Could not redirect
I’ve the same problem. Is there any solution for it? I don’t know what to do with the answer from aeden
#12 2016-04-18 21:38:45
Re: [workaround] spice-client-error-quark: Could not redirect
I’ve the same problem. Is there any solution for it? I don’t know what to do with the answer from aeden
Copy the text for each box into a text editor and save them into three separate directories named ‘PKGBUILD’. Then cd into each of those directories in the order 1. spice-protocol 2. spice-glib 3. spice-gtk3, and type ‘makepkg -s’ followed by ‘pacman -U *.xz’.
#13 2016-04-19 10:47:28
Re: [workaround] spice-client-error-quark: Could not redirect
Okay, thanks for you detailed explanation. But it doesn’t work with «spice-glib» and I get the «error», that it’s already installed.
After I updated the other packages I get the message in my windows-vm again:
«spice-client-error-quark: Could not redirect Garmin International Device [091e:26e5] at 2-4: Could not open usb device: Access denied (insufficient permissions) [-3] (0)»
#14 2016-04-19 16:43:05
Re: [workaround] spice-client-error-quark: Could not redirect
Okay, thanks for you detailed explanation. But it doesn’t work with «spice-glib» and I get the «error», that it’s already installed.
After I updated the other packages I get the message in my windows-vm again:
«spice-client-error-quark: Could not redirect Garmin International Device [091e:26e5] at 2-4: Could not open usb device: Access denied (insufficient permissions) [-3] (0)»
What I did was uninstall spice-glib (pacman -R) before installing the newer version. As a consequence this uninstalled virt-manager for me, but I reinstalled virt-manager at the end of the process.
#15 2016-04-19 16:44:37
Re: [workaround] spice-client-error-quark: Could not redirect
Disregard my remarks; it looks like spice-glib and spice-gtk3 have finally been updated in the Archlinux repositories.
Last edited by aeden (2016-04-19 16:45:27)
#16 2016-04-19 21:39:46
Re: [workaround] spice-client-error-quark: Could not redirect
Disregard my remarks; it looks like spice-glib and spice-gtk3 have finally been updated in the Archlinux repositories.
Okay, I don’t understand it. I just removed virt-manager, spice-glib and spice-gtk3 and did an «pacman -Syu» after it. It updated the system and after I reinstalled virt-manager and the other packages.
But the problem is there anymore .
#17 2016-04-20 12:07:13
Re: [workaround] spice-client-error-quark: Could not redirect
Does anyone managed to fix this issue? I have latest spice-gtk3 and spice-glib packages installed (0.31-1) but still can’t redirect USB devices.
#18 2016-04-22 22:35:45
Re: [workaround] spice-client-error-quark: Could not redirect
I’ve the problem also anymore. Is there a solution for it? There where no updates of spice-glib and spice-gtk3 in my Archlinux repositories since the last post of aeden
#19 2016-04-23 08:09:28
Re: [workaround] spice-client-error-quark: Could not redirect
I can confirm that this problem persists.
Alas, it lets me redirect my scanner, but not any type of storage device (which is what i would need the most), but that was the already the case before version 0.31.
Источник
USB redirection fails with spice-client-error-quark: . ‘Not authorized’ (0)
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,
$ apt-cache rdepends gir1.2- spice-client- glib-2. 0
gir1.2- spice-client- glib-2. 0
Reverse Depends:
gir1. 2-spice- client- glib-2. 0:i386
libspice- client- glib-2. 0-dev
gir1. 2-spice- client- gtk-3.0
gir1. 2-spice- client- gtk-2.0
0 ✓ serge@sl
$ apt-cache rdepends gir1.2- spice-client- gtk-2.0
gir1.2- spice-client- gtk-2.0
Reverse Depends:
gir1. 2-spice- client- gtk-2.0: i386
libspice- client- gtk-2.0- dev
$ apt-cache show virt-manager| grep spice
Recommends: libvirt-bin (>= 1.2.7), gnome-icon-theme, gir1.2- spice-client- gtk-3.0
$ 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.
Источник
Arch Linux
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the ‘flag out of date’ link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#49179 — [spice-gtk3] spice-client-error-quark usb redirection failed. acces denied insufficient permissions
Task Type | Bug Report |
---|---|
Category | Packages |
Status | Closed |
Assigned To | Sergej Pupykin (sergej) |
Architecture | All |
Severity | Low |
Priority | Normal |
Reported Version | |
Due in Version | Undecided |
Due Date | Undecided |
Percent Complete | |
Votes | 20 |
- Raman Mohan (mohan43u) (2016-09-14)
- cryptoroute (cryptoroute) (2016-09-11)
- Vanush «Misha» Paturyan (ektich) (2016-08-29)
- aitch (frontwheelskid) (2016-08-27)
- Juan Palacios (jpalaciosdev) (2016-07-14)
- Aeny (Aeny) (2016-06-15)
- Isaac (isaac) (2016-06-14)
- Mario (diraimondo) (2016-06-12)
- Jonathan Hudson (stronnag) (2016-05-21)
- st.binder (nium) (2016-05-13)
- Tolga Cakir (tolga9009) (2016-05-11)
- Luis Nabais (luisnabais) (2016-05-11)
- guillaume missonnier (kyoshiro38) (2016-05-09)
- Lars Hagström (DonOregano) (2016-05-09)
- openoliv (olivarch) (2016-05-08)
- lislon (lislon) (2016-05-08)
- Thomas Hebb (tchebb) (2016-05-08)
- Luke (masteryod) (2016-05-08)
- Robert Gonciarz (gonciarz) (2016-05-05)
- Milan Knížek (MilanKnizek) (2016-05-05)
Details
Description:
cannot use usb sticks in guest machines.
spice-client-error-quark usb redirection failed. acces denied insufficient permissions. using virt-manager. cannot redirect usb sticks.
as side detail I’m able to access smartphone via mtp (usb) in the guest machines.
community/spice-glib 0.31-1 [installed]
community/spice-gtk3 0.31-1 [installed]
community/virt-manager 1.3.2-5 [installed]
community/libvirt-glib 0.2.3-1 [installed]
community/libvirt 1.3.3-2 [installed]
Steps to reproduce:
insert a usb stick.
This task depends upon
I have the same issue, it happens with any USB device I try to redirect.
libvirt 1.3.4-1
qemu 2.5.1-1
spice 0.12.6-2
spice-glib 0.31-1
spice-gtk3 0.31-1
systemd 229-3
virt-manager 1.3.2-5
Same issue here aswell. On my desktop, everythings works fine (older package versions). On my laptop, I have latest package versions installed and it doesn’t work. I’ve put my user in the same groups and libvirt / qemu are configured the same way on both systems.
Update: just updated my desktop from spice-gtk3 0.30-1 and spice-glib 0.30-1 to 0.31-1, now I have the same error on my desktop aswell. Configuration files are identical.
I have the same issue.
Packages:
————
libvirt 1.3.5-1
qemu 2.6.0-1
spice 0.12.7-1
spice-glib 0.31-1
spice-gtk3 0.31-1
systemd 230-4
virt-manager 1.3.2-5
————
cat /etc/udev/rules.d/50-spice.rules
SUBSYSTEM==»usb», GROUP=»spice», MODE=»0660″
SUBSYSTEM==»usb_device», GROUP=»spice», MODE=»0660″
EOF
usermod -a -G spice $USER
Yes, it did work.
The group «spice» did not exist on my system and I have not found it in the list of standard Arch Linux group names. I created it anyway.
The udev modifies ownership of /dev/bus/usb/XXX/YYY from root:root. I am not sure if it is the best way to set every plugged usb device as group-owned by spice.
Also, I’ve noticed this error only occurs in conjunction with USB Redirection module. When I assign USB devices directly to VMs before booting up the VM, I can use them without any issues.
Btw. this issue is not limited to USB storage devices, but all kind of USB devices.
Источник
Spice client error quark
Spice Session — handles connection details, and active channels
Stability Level
Functions
SpiceSession * | spice_session_new () |
gboolean | spice_session_connect () |
gboolean | spice_session_open_fd () |
void | spice_session_disconnect () |
GList * | spice_session_get_channels () |
gboolean | spice_session_get_read_only () |
gboolean | spice_session_has_channel_type () |
SpiceURI * | spice_session_get_proxy_uri () |
gboolean | spice_session_is_for_migration () |
GOptionGroup * | spice_get_option_group () |
void | spice_set_session_option () |
GQuark | spice_client_error_quark () |
Properties
GByteArray * | ca | Read / Write |
gchar * | ca-file | Read / Write |
gint | cache-size | Read / Write |
gchar * | cert-subject | Read / Write |
gchar * | ciphers | Read / Write |
gboolean | client-sockets | Read / Write |
gint | color-depth | Read / Write |
GStrv | disable-effects | Read / Write |
gboolean | enable-audio | Read / Write / Construct |
gboolean | enable-smartcard | Read / Write |
gboolean | enable-usbredir | Read / Write / Construct |
gint | glz-window-size | Read / Write |
gchar * | host | Read / Write / Construct |
gboolean | inhibit-keyboard-grab | Read / Write |
SpiceSessionMigration | migration-state | Read |
gchar * | name | Read |
gchar * | password | Read / Write |
gchar * | port | Read / Write |
SpiceImageCompress | preferred-compression | Read / Write |
gint | protocol | Read / Write / Construct |
gchar * | proxy | Read / Write |
GByteArray * | pubkey | Read / Write |
gboolean | read-only | Read / Write / Construct |
GStrv | secure-channels | Read / Write |
gboolean | share-dir-ro | Read / Write / Construct |
gchar * | shared-dir | Read / Write / Construct |
GStrv | smartcard-certificates | Read / Write |
gchar * | smartcard-db | Read / Write |
gchar * | tls-port | Read / Write |
gchar * | unix-path | Read / Write / Construct |
gchar * | uri | Read / Write |
gchar * | username | Read / Write |
gpointer | uuid | Read |
SpiceSessionVerify | verify | Read / Write / Construct |
Signals
Types and Values
SpiceSession | |
SpiceSessionClass | |
enum | SpiceSessionMigration |
enum | SpiceSessionVerify |
enum | SpiceClientError |
#define | SPICE_CLIENT_ERROR |
Object Hierarchy
Includes
Description
The SpiceSession class handles all the SpiceChannel connections. It’s also the class that contains connections informations, such as “host” and “port” .
You can simply set the property “uri” to something like «spice://127.0.0.1?port=5930» to configure your connection details.
You may want to connect to “channel-new” signal, to be informed of the availability of channels and to interact with them.
For example, when the SpiceInputsChannel is available and get the event SPICE_CHANNEL_OPENED , you can send key events with spice_inputs_key_press() . When the SpiceMainChannel is available, you can start sharing the clipboard. .
Once SpiceSession properties set, you can call spice_session_connect() to start connecting and communicating with a Spice server.
Functions
spice_session_new ()
Creates a new Spice session.
Returns
spice_session_connect ()
Open the session using the “host” and “port” .
Parameters
Returns
FALSE if the session state is invalid for connection request. TRUE if the connection is initiated. To know whether the connection is established, you must watch for channels creation ( “channel-new” ) and the channels state ( “channel-event” ).
spice_session_open_fd ()
Open the session using the provided fd socket file descriptor. This is useful if you create the fd yourself, for example to setup a SSH tunnel.
Note however that additional sockets will be needed by all the channels created for session so users of this API should hook into SpiceChannel::open-fd signal for each channel they are interested in, and create and pass a new socket to the channel using spice_channel_open_fd , in the signal callback.
If fd is -1, a valid fd will be requested later via the SpiceChannel::open-fd signal. Typically, you would want to just pass -1 as fd this call since you will have to hook to SpiceChannel::open-fd signal anyway.
Источник
- Index
- » Applications & Desktop Environments
- » [workaround] spice-client-error-quark: Could not redirect
#1 2016-03-14 11:24:33
- mmarzantowicz
- Member
- Registered: 2015-12-28
- Posts: 32
[workaround] spice-client-error-quark: Could not redirect
I have a problem with redirecting USB devices in virt-manager.
It worked some time ago without any hassle but now when I try to redirect usb printer or any other device I get following error message:
spice-client-error-quark: Could not redirect Samsung Electronics Co., Ltd. ML-2160 Series [04e8:330f] at 1-3: Could not open usb device: Access denied (insufficient permissions) [-3] (0)
It says I have insufficient permissions but I haven’t changed anything in perms since I installed virt-manager, libvirtd and qemu. I run my guests as nobody:kvm (default config). I’m asked about my user’s password when starting virt-manager.
It looks like some recent (about two weeks period) updated messed up with usb redirection or I’m missing some configuration.
$ pacman -Q libvirt qemu virt-manager spice systemd
libvirt 1.3.2-3
qemu 2.5.0-1
virt-manager 1.3.2-3
spice 0.12.6-2
systemd 229-3
Last edited by mmarzantowicz (2016-03-14 23:47:04)
#2 2016-03-14 14:19:25
- mmarzantowicz
- Member
- Registered: 2015-12-28
- Posts: 32
Re: [workaround] spice-client-error-quark: Could not redirect
Running virtual machine as root:root doesn’t help either.
I also checked that /usr/bin/spice-client-glib-usb-acl-helper has suid set (according to some recommendation found on other forums).
Nothing helped so far. I hope it’s not udev/systemd related.
#3 2016-03-14 20:44:26
- Kossi
- Member
- Registered: 2016-03-14
- Posts: 1
Re: [workaround] spice-client-error-quark: Could not redirect
Seems to be something with the recent spice-gtk3 and spice-glib package.
My workaround was to force remove spice-gtk3 and spice-glib, install spice-glib, remove some of the files that preventend a downgrade and install the old spice-gtk3 package from the pacman cache.
sudo pacman -Rdd spice-gtk3 spice-glib
sudo pacman -S spice-glib
sudo rm /usr/bin/spicy-screenshot /usr/bin/spicy-stats /usr/include/spice-client-glib-2.0/channel-cursor.h /usr/include/spice-client-glib-2.0/channel-display.h /usr/include/spice-client-glib-2.0/channel-inputs.h /usr/include/spice-client-glib-2.0/channel-main.h /usr/include/spice-client-glib-2.0/channel-playback.h /usr/include/spice-client-glib-2.0/channel-port.h /usr/include/spice-client-glib-2.0/channel-record.h /usr/include/spice-client-glib-2.0/channel-smartcard.h /usr/include/spice-client-glib-2.0/channel-usbredir.h /usr/include/spice-client-glib-2.0/channel-webdav.h /usr/include/spice-client-glib-2.0/smartcard-manager.h /usr/include/spice-client-glib-2.0/spice-audio.h /usr/include/spice-client-glib-2.0/spice-channel-enums.h /usr/include/spice-client-glib-2.0/spice-channel.h /usr/include/spice-client-glib-2.0/spice-client.h /usr/include/spice-client-glib-2.0/spice-glib-enums.h /usr/include/spice-client-glib-2.0/spice-option.h /usr/include/spice-client-glib-2.0/spice-session.h /usr/include/spice-client-glib-2.0/spice-types.h /usr/include/spice-client-glib-2.0/spice-uri.h /usr/include/spice-client-glib-2.0/spice-util.h /usr/include/spice-client-glib-2.0/spice-version.h /usr/include/spice-client-glib-2.0/usb-device-manager.h /usr/include/spice-controller/spice-controller.h /usr/lib/girepository-1.0/SpiceClientGLib-2.0.typelib /usr/lib/libspice-client-glib-2.0.so /usr/lib/libspice-client-glib-2.0.so.8 /usr/lib/libspice-client-glib-2.0.so.8.5.0 /usr/lib/libspice-controller.so /usr/lib/libspice-controller.so.0 /usr/lib/libspice-controller.so.0.0.0 /usr/lib/pkgconfig/spice-client-glib-2.0.pc /usr/lib/pkgconfig/spice-controller.pc /usr/share/gir-1.0/SpiceClientGLib-2.0.gir /usr/share/gtk-doc/html/spice-gtk/SpiceAudio.html /usr/share/gtk-doc/html/spice-gtk/SpiceChannel.html /usr/share/gtk-doc/html/spice-gtk/SpiceCursorChannel.html /usr/share/gtk-doc/html/spice-gtk/SpiceDisplay.html /usr/share/gtk-doc/html/spice-gtk/SpiceDisplayChannel.html /usr/share/gtk-doc/html/spice-gtk/SpiceGtkSession.html /usr/share/gtk-doc/html/spice-gtk/SpiceInputsChannel.html /usr/share/gtk-doc/html/spice-gtk/SpiceMainChannel.html /usr/share/gtk-doc/html/spice-gtk/SpicePlaybackChannel.html /usr/share/gtk-doc/html/spice-gtk/SpicePortChannel.html /usr/share/gtk-doc/html/spice-gtk/SpiceRecordChannel.html /usr/share/gtk-doc/html/spice-gtk/SpiceSession.html /usr/share/gtk-doc/html/spice-gtk/SpiceSmartcardChannel.html /usr/share/gtk-doc/html/spice-gtk/SpiceSmartcardManager.html /usr/share/gtk-doc/html/spice-gtk/SpiceUsbDeviceManager.html /usr/share/gtk-doc/html/spice-gtk/SpiceUsbDeviceWidget.html /usr/share/gtk-doc/html/spice-gtk/SpiceUsbredirChannel.html /usr/share/gtk-doc/html/spice-gtk/SpiceWebdavChannel.html /usr/share/gtk-doc/html/spice-gtk/annotation-glossary.html /usr/share/gtk-doc/html/spice-gtk/api-index-deprecated.html /usr/share/gtk-doc/html/spice-gtk/api-index-full.html /usr/share/gtk-doc/html/spice-gtk/api-reference.html /usr/share/gtk-doc/html/spice-gtk/application-support.html /usr/share/gtk-doc/html/spice-gtk/ch01.html /usr/share/gtk-doc/html/spice-gtk/ch02.html /usr/share/gtk-doc/html/spice-gtk/ch03.html /usr/share/gtk-doc/html/spice-gtk/home.png /usr/share/gtk-doc/html/spice-gtk/index.html /usr/share/gtk-doc/html/spice-gtk/index.sgml /usr/share/gtk-doc/html/spice-gtk/left-insensitive.png /usr/share/gtk-doc/html/spice-gtk/left.png /usr/share/gtk-doc/html/spice-gtk/object-tree.html /usr/share/gtk-doc/html/spice-gtk/right-insensitive.png /usr/share/gtk-doc/html/spice-gtk/right.png /usr/share/gtk-doc/html/spice-gtk/spice-gtk-SpiceURI.html /usr/share/gtk-doc/html/spice-gtk/spice-gtk-Utilities.html /usr/share/gtk-doc/html/spice-gtk/spice-gtk-spice-version.html /usr/share/gtk-doc/html/spice-gtk/spice-gtk.devhelp2 /usr/share/gtk-doc/html/spice-gtk/style.css /usr/share/gtk-doc/html/spice-gtk/up-insensitive.png /usr/share/gtk-doc/html/spice-gtk/up.png /usr/share/locale/fr/LC_MESSAGES/spice-gtk.mo /usr/share/man/man1/spice-client.1.gz /usr/share/vala/vapi/spice-client-glib-2.0.deps /usr/share/vala/vapi/spice-client-glib-2.0.vapi /usr/share/vala/vapi/spice-protocol.vapi
sudo pacman -U spice-gtk3-0.30-2-x86_64.pkg.tar.xz
#4 2016-03-14 21:39:56
- mmarzantowicz
- Member
- Registered: 2015-12-28
- Posts: 32
Re: [workaround] spice-client-error-quark: Could not redirect
It works indeed. It’s a bit complicated but thanks to your instructions I managed to make USB redirection work again.
Someone knows if it is a know and reported bug or should we file one somewhere?
#5 2016-03-24 15:25:41
- tolga9009
- Member
- From: Germany
- Registered: 2010-01-08
- Posts: 62
Re: [workaround] spice-client-error-quark: Could not redirect
I have faced the same issue — glad, that I’m not the only one. I could «temporarily» fix this issue by starting virt-manager as root via console: sudo virt-manager. I’ve tried several configurations, added my user to kvm and libvirt groups, but nothing helped. Wonder, what’s the problem, cause this used to work without any hassle in the past.
#6 2016-03-29 01:07:01
- windozupdate
- Banned
- Registered: 2015-03-19
- Posts: 25
Re: [workaround] spice-client-error-quark: Could not redirect
I had the exact same error, so it’s definitely a bug upstream somewhere. Unfortunately, you’re fix didn’t work for me. After I ran the commands I just got another error:
error wrote:
spice-client-error-quark: Could not redirect Silicon Labs CP2104 USB to UART Bridge Controller [—] at 1-3: Error setting USB device node ACL: ‘Not authorized’ (0)
#7 2016-03-29 13:57:21
- tolga9009
- Member
- From: Germany
- Registered: 2010-01-08
- Posts: 62
Re: [workaround] spice-client-error-quark: Could not redirect
@windozupdate: I’ve read on another forum that for ACL errors the following command might help: chmod u+s /usr/bin/spice-client-glib-usb-acl-helper
#8 2016-04-03 04:10:26
- asg1448
- Member
- Registered: 2014-04-12
- Posts: 74
Re: [workaround] spice-client-error-quark: Could not redirect
@tolga9009 tried your method, didn’t work
#9 2016-04-07 00:37:56
- tolga9009
- Member
- From: Germany
- Registered: 2010-01-08
- Posts: 62
Re: [workaround] spice-client-error-quark: Could not redirect
Upstream packages are bugged. Issue https://bugs.archlinux.org/task/48829 seems to be related. It has been updated to 0.31 upstream and flagged out-of-date in Arch repo on 21th march. The update should be available soon (and most probably fixes our issues). Also, they have changed **alot** USB related stuff after releasing 0.31, better be prepared to downgrade next time.
#10 2016-04-17 13:37:44
- aeden
- Member
- Registered: 2015-12-10
- Posts: 5
Re: [workaround] spice-client-error-quark: Could not redirect
Here are PKGBUILD’s for spice-glib, spice-gtk3, and spice-protocol (version 0.31):
spice-glib:
# $Id: PKGBUILD 164477 2016-03-03 13:24:42Z foutrelis $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Stefano Facchini <stefano.facchini@gmail.com>
# Contributor: Jonathan Lestrelin <zanko@daemontux.org>
# Contributor: Lucio Zara <pennega@gmail.com>
pkgname=spice-glib
pkgver=0.31
pkgrel=1
pkgdesc="Gtk client and libraries for SPICE remote desktop servers (gtk3 version)"
arch=('i686' 'x86_64')
url="http://spice-space.org"
license=('LGPL2.1')
depends=('celt0.5.1' 'dbus-glib' 'libcacard' 'libpulse' 'usbredir' 'libsoup'
'cairo' 'libjpeg')
makedepends=('gobject-introspection' 'intltool' 'python2-pyparsing' 'spice-protocol' 'usbutils'
'vala' 'sdl' 'python2-six' 'pixman')
options=('!emptydirs')
source=("http://www.spice-space.org/download/gtk/spice-gtk-$pkgver.tar.bz2")
md5sums=('1ef438eabc19b0f339d746a93cab4f56')
build() {
cd "$srcdir/spice-gtk-$pkgver"
PYTHON=python2 ./configure --prefix=/usr
--disable-static --enable-vala --with-gtk=no
--with-audio=pulse
--with-coroutine=gthread --sbindir=/usr/bin
--enable-smartcard
make
}
package() {
cd "$srcdir/spice-gtk-$pkgver"
make DESTDIR="$pkgdir/" install
}
spice-gtk3:
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Stefano Facchini <stefano.facchini@gmail.com>
# Contributor: Jonathan Lestrelin <zanko@daemontux.org>
# Contributor: Lucio Zara <pennega@gmail.com>
pkgname=spice-gtk3
pkgver=0.31
pkgrel=1
pkgdesc="Gtk client and libraries for SPICE remote desktop servers (gtk3 version)"
arch=('i686' 'x86_64')
url="http://spice-space.org"
license=('LGPL2.1')
depends=('celt0.5.1' 'dbus-glib' 'gtk3' 'libcacard' 'libpulse' 'usbredir' 'libsoup' 'spice-glib')
makedepends=('gobject-introspection' 'intltool' 'python2-pyparsing' 'spice-protocol' 'usbutils'
'vala' 'sdl' 'python2-six')
options=('!emptydirs')
source=("http://www.spice-space.org/download/gtk/spice-gtk-$pkgver.tar.bz2")
md5sums=('1ef438eabc19b0f339d746a93cab4f56')
build() {
cd "$srcdir/spice-gtk-$pkgver"
PYTHON=python2 LIBS=-lX11 ./configure --prefix=/usr
--disable-static --enable-vala --with-gtk=3.0
--with-audio=pulse
--with-coroutine=gthread --sbindir=/usr/bin
--enable-smartcard
make
}
package() {
cd "$srcdir/spice-gtk-$pkgver"
make DESTDIR="$pkgdir/" install
pacman -Ql spice-glib | cut -f2 -d' ' | while read f; do
[ -f $pkgdir/$f ] && rm -f $pkgdir/$f || true
f=$(echo $f | sed 's|.gz$||')
[ -f $pkgdir/$f ] && rm -f $pkgdir/$f || true
done
}
spice-protocol:
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Patryk Kowalczyk < patryk at kowalczyk dot ws>
pkgname=spice-protocol
pkgver=0.12.11
pkgrel=1
pkgdesc="Headers for SPICE protocol"
arch=(any)
url="http://spice-space.org"
license=('BSD' 'LGPL2.1')
source=(http://spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2)
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
md5sums=('422bf0bc1eb34c8af3479a78b28e969b')
#11 2016-04-17 21:06:56
- fluffy-bunny
- Member
- Registered: 2016-04-17
- Posts: 9
Re: [workaround] spice-client-error-quark: Could not redirect
I’ve the same problem. Is there any solution for it? I don’t know what to do with the answer from aeden
#12 2016-04-18 21:38:45
- aeden
- Member
- Registered: 2015-12-10
- Posts: 5
Re: [workaround] spice-client-error-quark: Could not redirect
fluffy-bunny wrote:
I’ve the same problem. Is there any solution for it? I don’t know what to do with the answer from aeden
Copy the text for each box into a text editor and save them into three separate directories named ‘PKGBUILD’. Then cd into each of those directories in the order 1. spice-protocol 2. spice-glib 3. spice-gtk3, and type ‘makepkg -s’ followed by ‘pacman -U *.xz’.
#13 2016-04-19 10:47:28
- fluffy-bunny
- Member
- Registered: 2016-04-17
- Posts: 9
Re: [workaround] spice-client-error-quark: Could not redirect
Okay, thanks for you detailed explanation. But it doesn’t work with «spice-glib» and I get the «error», that it’s already installed….
After I updated the other packages I get the message in my windows-vm again:
«spice-client-error-quark: Could not redirect Garmin International Device [091e:26e5] at 2-4: Could not open usb device: Access denied (insufficient permissions) [-3] (0)»
#14 2016-04-19 16:43:05
- aeden
- Member
- Registered: 2015-12-10
- Posts: 5
Re: [workaround] spice-client-error-quark: Could not redirect
fluffy-bunny wrote:
Okay, thanks for you detailed explanation. But it doesn’t work with «spice-glib» and I get the «error», that it’s already installed….
After I updated the other packages I get the message in my windows-vm again:«spice-client-error-quark: Could not redirect Garmin International Device [091e:26e5] at 2-4: Could not open usb device: Access denied (insufficient permissions) [-3] (0)»
What I did was uninstall spice-glib (pacman -R) before installing the newer version. As a consequence this uninstalled virt-manager for me, but I reinstalled virt-manager at the end of the process.
#15 2016-04-19 16:44:37
- aeden
- Member
- Registered: 2015-12-10
- Posts: 5
Re: [workaround] spice-client-error-quark: Could not redirect
Disregard my remarks; it looks like spice-glib and spice-gtk3 have finally been updated in the Archlinux repositories.
Last edited by aeden (2016-04-19 16:45:27)
#16 2016-04-19 21:39:46
- fluffy-bunny
- Member
- Registered: 2016-04-17
- Posts: 9
Re: [workaround] spice-client-error-quark: Could not redirect
aeden wrote:
Disregard my remarks; it looks like spice-glib and spice-gtk3 have finally been updated in the Archlinux repositories.
Okay, I don’t understand it…. I just removed virt-manager, spice-glib and spice-gtk3 and did an «pacman -Syu» after it. It updated the system and after I reinstalled virt-manager and the other packages….
But the problem is there anymore …
#17 2016-04-20 12:07:13
- mmarzantowicz
- Member
- Registered: 2015-12-28
- Posts: 32
Re: [workaround] spice-client-error-quark: Could not redirect
Does anyone managed to fix this issue? I have latest spice-gtk3 and spice-glib packages installed (0.31-1) but still can’t redirect USB devices.
#18 2016-04-22 22:35:45
- fluffy-bunny
- Member
- Registered: 2016-04-17
- Posts: 9
Re: [workaround] spice-client-error-quark: Could not redirect
I’ve the problem also anymore. Is there a solution for it? There where no updates of spice-glib and spice-gtk3 in my Archlinux repositories since the last post of aeden
#19 2016-04-23 08:09:28
- Schmeidenbacher
- Member
- Registered: 2014-06-08
- Posts: 5
Re: [workaround] spice-client-error-quark: Could not redirect
I can confirm that this problem persists.
Alas, it lets me redirect my scanner, but not any type of storage device (which is what i would need the most), but that was the already the case before version 0.31.
#20 2016-04-27 18:26:46
- kyoshiro38
- Member
- Registered: 2015-10-04
- Posts: 2
Re: [workaround] spice-client-error-quark: Could not redirect
I used to do :
cat <<EOF >/etc/polkit-1/rules.d/50-spice.rules
polkit.addRule(function(action, subject) {
if (action.id == "org.spice-space.lowlevelusbaccess" &&
subject.isInGroup("spice")) {
return polkit.Result.YES;
}
});
EOF
usermod -a -G spice $USER
It worked until today
#21 2016-04-28 21:12:48
- muty
- Member
- Registered: 2015-10-27
- Posts: 3
Re: [workaround] spice-client-error-quark: Could not redirect
Same thing here, I am still getting
Access denied (insufficient permissions) [-3] (0)
with spice-glib 0.31-1. Should we reopen that bug report?
#22 2016-04-30 13:01:21
- mmarzantowicz
- Member
- Registered: 2015-12-28
- Posts: 32
Re: [workaround] spice-client-error-quark: Could not redirect
But is there any bug reported so it can be reopened? The only one https://bugs.archlinux.org/task/48829 was closed as fixed which is certainly not true. Either USB redirection is not so important and rarely used feature by only few people or this issue is very specific to configuration and/or hardware and isn’t very common.
#23 2016-05-02 21:38:29
- teraflops
- Member
- Registered: 2015-12-11
- Posts: 1
Re: [workaround] spice-client-error-quark: Could not redirect
#24 2016-05-02 22:06:52
- muty
- Member
- Registered: 2015-10-27
- Posts: 3
Re: [workaround] spice-client-error-quark: Could not redirect
Thanks for opening bug report!
#25 2016-05-05 06:17:33
- MilanKnizek
- Member
- Registered: 2005-12-13
- Posts: 88
Re: [workaround] spice-client-error-quark: Could not redirect
It might help to get yourself on the «watching» list or vote for the bug.
I have a Fedora workstation running an Ubuntu 16.04 virtual machine (KVM
hypervisor). I’d like to redirect a USB device to the VM, but when selecting
«Virtual Machine | Redirect USB device» from virt-manager, I get the
following error:
spice-client-error-quark: Could not redirect <USB device name> at 1-4:
Error setting USB device node ACL: 'Not authorized' (0)
The error window has a «Details» section which just reads «USB redirection
error».
Here is what I’ve tried so far, without success:
-
As suggested here, I created a /etc/udev/rules.d/50-spice.rules file with
the following contents, then created a `spice` group and added my user to
this groupSUBSYSTEM=="usb", GROUP="spice", MODE="0660" SUBSYSTEM=="usb_device", GROUP="spice", MODE="0660"
-
Downgraded spice-gtk from the latest version of Fedora 33 (0.39-1) to
0.38-3. -
Disabled selinux
-
sudo chmod 4755 /usr/libexec/spice-gtk-x86_64/spice-client-glib-usb-acl-helper
-
Upgraded to Fedora 34 which comes with spice-gtk 0.39-2
asked Jul 31, 2021 at 20:05
The solution for me was to create the /etc/udev/rules.d/50-spice.rules files, then to add <allow_any>yes</allow_any>
under the <defaults>
section in /usr/share/polkit-1/actions/org.spice-space.lowlevelusbaccess.policy. After modification, the file looks like this on my machine:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>
<vendor>The Spice Project</vendor>
<vendor_url>http://spice-space.org/</vendor_url>
<icon_name>spice</icon_name>
<action id="org.spice-space.lowlevelusbaccess">
<description>Low level USB device access</description>
<message>Privileges are required for low level USB device access (for usb device pass through).</message>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
</policyconfig>
answered Aug 1, 2021 at 16:00
More correct should be:
(depends on linux distribution):
file: /etc/polkit-default-privs/local
or /etc/polkit-default-privs.local
add to the file the line (or generate the file/directory):
org.spice-space.lowlevelusbaccess yes:no:yes
after this run: /sbin/set_polkit_default_privs
if opensuse then in addition:
in the file /etc/permissions.local add the line:
/usr/bin/spice-client-glib-usb-acl-helper root:root 4755
after this run: chkstat —system —set
simoN
answered Jan 7, 2022 at 18:13
simonsimon
211 bronze badge
When trying to redirect a USB device virt-manager shows a popup: ########### USB redirection error spice-client-error-quark: Could not redirect "USB device name" [Vendor:Product] at Bus-Device: Error setting USB device node ACL: 'Error setting facl: Operation not permitted' (0)
According to Arch bug it is fixed in 0.39-2. Can you bump?
(In reply to Anton Gubarkov from comment #1)
> According to Arch bug it is fixed in 0.39-2. Can you bump?
Arch's -2 is similar to having -r1 here, upstream is still 0.39 latest
Not familiar with this package but looks like the change they did is:
setcap CAP_FOWNER=+ep /usr/lib/spice-client-glib-usb-acl-helper
Please add an emerge --info so that I can further debug. My guess is that you did not enable capabilities on your system? What is the output of: getcap /usr/libexec/spice-client-glib-usb-acl-helper For reference: The setcap-or-suid helper in net-misc/spice-gtk contains #!/bin/sh file="$DESTDIR$1" caps="$2" setcap "$caps" "$file" && exit 0 echo "Warning: setcap failed, falling back on suid!" >&2 chown root:root "$file" chmod u+s "$file" We might have to tweak this to depend on USE=caps or something similar.
anton@PF16W6Y2 ~ $ emerge --info spice-gtk Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-10.2.0, glibc-2.33, 5.11.11-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.11.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-8850H_CPU_@_2.60GHz-with-glibc2.2.5 KiB Mem: 32493976 total, 1120924 free KiB Swap: 33554428 total, 32966580 free Timestamp of repository gentoo: Sat, 03 Apr 2021 18:35:51 +0000 Head commit of repository gentoo: 0225967c4b79e08dd54bed7f5129f374b92218dc sh bash 5.1_p4 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-shells/bash: 5.1_p4::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.32.1::gentoo dev-lang/python: 2.7.18_p8::gentoo, 3.7.9::gentoo, 3.8.9::gentoo, 3.9.3::gentoo dev-util/cmake: 3.20.0::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7-r1::gentoo sys-apps/sandbox: 2.22::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo, 2.71::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.35.2::gentoo sys-devel/gcc: 8.4.0-r2::gentoo, 10.2.0-r5::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers) sys-libs/glibc: 2.33::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: git://github.com/gentoo-mirror/gentoo.git priority: -1000 calculate location: /var/lib/layman/calculate masters: gentoo priority: 50 dlang location: /var/lib/layman/dlang masters: gentoo priority: 50 gentoo-zh location: /var/lib/layman/gentoo-zh masters: gentoo priority: 50 go-overlay location: /var/lib/layman/go-overlay masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 50 tlp location: /var/lib/layman/tlp masters: gentoo priority: 50 waebbl location: /var/lib/layman/waebbl masters: gentoo priority: 50 rugubara location: /var/lib/layman/rugubara masters: gentoo priority: 100 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -mtune=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -mtune=native" DISTDIR="/usr/portage/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -mtune=native" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe -mtune=native" GENTOO_MIRRORS="http://gentoo.bloodhost.ru/ rsync://gentoo.bloodhost.ru/gentoo-distfiles http://ftp.ntua.gr/pub/linux/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi aio alsa amd64 ap bash-completion berkdb bluetooth branding bzip2 cacert cairo cdda cdr cgroup-hybrid chromecast cli client colord crypt cups dbus djvu dri dri3 dts dvd dvdr eds egl emboss encode evo exif fat ffmpeg fftw flac fortran gdbm gif gimp gles2 gnome gnome-keyring gnome-online-accounts gpm graphite gstreamer gtk gtk3 gui iconv icu introspection io-uring ipv6 jack jpeg jpeg2k lcms libglvnd libnotify libsecret libtirpc libzfs lm_sensors lv2 mad mng mp3 mp4 mpeg multilib native-headset nautilus ncat ncurses networkmanager nfs nls nptl ntfs nvenc nvme ogg opencl opengl openmp opus p2p pam pango pcre pdf png policykit ppds pulseaudio qt5 raw readline sdl sdl2 seccomp smp sna sound spell spice split-usr ssl startup-notification svg synaptics sysprof systemd tcpd thunderbolt tiff tracker truetype udev udisks uefi unicode upower usb usbredir user-session vaapi vala vdpau virgl vlc vorbis vulkan wayland webdav wireguard wxwidgets x264 x265 xattr xcb xml xv xvid zeroconf zfs zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26 ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="intel i965 iris nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= net-misc/spice-gtk-0.39::gentoo was built with the following: USE="gtk3 introspection policykit usbredir vala wayland webdav (-libressl) -lz4 -mjpeg -sasl -smartcard" ABI_X86="(64)"
getcap /usr/libexec/spice-client-glib-usb-acl-helper produces no output
This may not be the best solution but as mentioned in https://dev.getsol.us/T9734 : chmod 4755 /usr/libexec/spice-client-glib-usb-acl-helper works.
the postinstall offered by Arch package when executed by root also solved the problem for me: setcap CAP_FOWNER=+ep /usr/lib/spice-client-glib-usb-acl-helper |