From: Giovanni Biscuolo <g@xelera.eu>
To: Saku Laesvuori <saku@laesvuori.fi>, TakeV <takev@disroot.org>
Cc: help-guix@gnu.org
Subject: Re: USB redirection via libvirt
Date: Thu, 18 Jul 2024 19:57:11 +0200 [thread overview]
Message-ID: <87h6cmr3bc.fsf@xelera.eu> (raw)
In-Reply-To: <ncymtopu5vowxnzvnzihlq5hiymmgo6pxa3oxcyog6jtz2dfzp@yqkiklegmdlt>
[-- Attachment #1: Type: text/plain, Size: 3110 bytes --]
Hello,
sorry to resurrect an old message but I've the same issue reported on
Nov 2023 by TakeV and the provided solution does not work for me
Saku Laesvuori <saku@laesvuori.fi> writes:
[...]
>> 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)
same error here
[...]
> (operating-system
> ...
> (services
> ...
> (simple-service 'spice-polkit polkit-service-type (list spice-gtk))))
I've also added that simple-service to my os config, this is a snippet:
--8<---------------cut here---------------start------------->8---
[...]
(services
(append %desktop-services
(list
;; libvirt and virtlog daemons
(service libvirt-service-type
(libvirt-configuration
(unix-sock-group "libvirt")
(tls-port "16555")))
(service virtlog-service-type
(virtlog-configuration
(max-clients 1000)
(max-size 5)
(max-backups 9)))
(service xfce-desktop-service-type)
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout)))
;; extend polkit for spice-gtk
(simple-service 'spice-polkit polkit-service-type (list spice-gtk))
[...]
--8<---------------cut here---------------end--------------->8---
but when I try to apply it I get this error:
--8<---------------cut here---------------start------------->8---
g@ken ~$ sudo guix system reconfigure /etc/config.scm
Backtrace:
18 (primitive-load "/home/g/.config/guix/current/bin/guix")
In guix/ui.scm:
2312:7 17 (run-guix . _)
2275:10 16 (run-guix-command _ . _)
In ice-9/boot-9.scm:
1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
859:3 14 (_)
839:4 13 (call-with-status-report _ _)
In guix/scripts/system.scm:
1311:4 12 (_)
In ice-9/boot-9.scm:
1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
684:37 10 (thunk)
1325:8 9 (call-with-build-handler #<procedure 7f6774ac25a0 at g…> …)
2205:25 8 (run-with-store #<store-connection 256.100 7f676508d0f0> …)
In guix/scripts/system.scm:
853:2 7 (_ _)
727:8 6 (_ #<store-connection 256.100 7f676508d0f0>)
In gnu/system.scm:
1335:19 5 (operating-system-derivation _)
870:11 4 (operating-system-services #<<operating-system> kernel:…>)
904:20 3 (services _)
In /etc/config.scm:
120:48 2 (services #<<operating-system> kernel: #<package linux-…>)
In ice-9/boot-9.scm:
1685:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
error: polkit-service-type: unbound variable
--8<---------------cut here---------------end--------------->8---
AFAIU polkit-service-type is defined in (gnu services desktop) and I'm
including that module: what am I doing wrong please?
Thanks! Gio'
--
Giovanni Biscuolo
Xelera IT Infrastructures
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
next prev parent reply other threads:[~2024-07-18 17:58 UTC|newest]
Thread overview: 5+ 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
2023-11-22 0:39 ` TakeV
2024-07-18 17:57 ` Giovanni Biscuolo [this message]
2024-07-19 8:09 ` Giovanni Biscuolo
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h6cmr3bc.fsf@xelera.eu \
--to=g@xelera.eu \
--cc=help-guix@gnu.org \
--cc=saku@laesvuori.fi \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.