* USB redirection via libvirt
@ 2023-11-20 17:33 TakeV
2023-11-20 20:21 ` Saku Laesvuori
0 siblings, 1 reply; 3+ messages in thread
From: TakeV @ 2023-11-20 17:33 UTC (permalink / raw)
To: help-guix
[-- Attachment #1.1: Type: text/plain, Size: 767 bytes --]
Hello,
I am trying to get USB redirection working with libvirt, but I am
hitting a snag. Originally it was not able to redirect the USB devices
due to spice-client-glib-usb-acl-helper not being available in
/run/setuid-programs. I was able to resolve that by appending the
spice-gtk version of spice-client-glib-usb-acl-helper into my
setuid-programs list. However, I am now getting a new error:
Error setting USB device node ACL: 'Error PoliciKit error:
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action
org.spice-space.lowlevelusbaccess is not registered' (0)
It fails no matter which client I use (virt-manager, virt-viewer,
gnome-boxes). Is there a way to fix that permission so I can redirect my
USB devices?
Thanks!
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: USB redirection via libvirt
2023-11-20 17:33 USB redirection via libvirt TakeV
@ 2023-11-20 20:21 ` Saku Laesvuori
2023-11-22 0:39 ` TakeV
0 siblings, 1 reply; 3+ messages in thread
From: Saku Laesvuori @ 2023-11-20 20:21 UTC (permalink / raw)
To: TakeV; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 720 bytes --]
> I am trying to get USB redirection working with libvirt, but I am
> hitting a snag. [...] I am now getting a new error:
>
> Error setting USB device node ACL: 'Error PoliciKit error:
> GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action
> org.spice-space.lowlevelusbaccess is not registered' (0)
>
> It fails no matter which client I use (virt-manager, virt-viewer,
> gnome-boxes). Is there a way to fix that permission so I can redirect my
> USB devices?
I had the same problem some time ago. It can be fixed by extending
polkit-service-type with spice-gtk, i.e.
(operating-system
...
(services
...
(simple-service 'spice-polkit polkit-service-type (list spice-gtk))))
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: USB redirection via libvirt
2023-11-20 20:21 ` Saku Laesvuori
@ 2023-11-22 0:39 ` TakeV
0 siblings, 0 replies; 3+ messages in thread
From: TakeV @ 2023-11-22 0:39 UTC (permalink / raw)
To: Saku Laesvuori; +Cc: help-guix
[-- Attachment #1.1: Type: text/plain, Size: 817 bytes --]
That worked! Thank you so much.
On 11/20/23 15:21, Saku Laesvuori wrote:
>> I am trying to get USB redirection working with libvirt, but I am
>> hitting a snag. [...] I am now getting a new error:
>>
>> Error setting USB device node ACL: 'Error PoliciKit error:
>> GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action
>> org.spice-space.lowlevelusbaccess is not registered' (0)
>>
>> It fails no matter which client I use (virt-manager, virt-viewer,
>> gnome-boxes). Is there a way to fix that permission so I can redirect my
>> USB devices?
> I had the same problem some time ago. It can be fixed by extending
> polkit-service-type with spice-gtk, i.e.
>
> (operating-system
> ...
> (services
> ...
> (simple-service 'spice-polkit polkit-service-type (list spice-gtk))))
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-22 0:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-20 17:33 USB redirection via libvirt TakeV
2023-11-20 20:21 ` Saku Laesvuori
2023-11-22 0:39 ` TakeV
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).