unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Saku Laesvuori <saku@laesvuori.fi>
To: TakeV <takev@disroot.org>
Cc: help-guix@gnu.org
Subject: Re: USB redirection via libvirt
Date: Mon, 20 Nov 2023 22:21:06 +0200	[thread overview]
Message-ID: <ncymtopu5vowxnzvnzihlq5hiymmgo6pxa3oxcyog6jtz2dfzp@yqkiklegmdlt> (raw)
In-Reply-To: <828cf278-3f4c-0163-1aec-8e93bba87a72@disroot.org>

[-- 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 --]

  reply	other threads:[~2023-11-20 20:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-20 17:33 USB redirection via libvirt TakeV
2023-11-20 20:21 ` Saku Laesvuori [this message]
2023-11-22  0:39   ` TakeV

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ncymtopu5vowxnzvnzihlq5hiymmgo6pxa3oxcyog6jtz2dfzp@yqkiklegmdlt \
    --to=saku@laesvuori.fi \
    --cc=help-guix@gnu.org \
    --cc=takev@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).