GNU bug report logs -
#66295
[DOCUMENTATION] guix shell with graphical software on Xorg
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66295 in the body.
You can then email your comments to 66295 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#66295
; Package
guix-patches
.
(Sun, 01 Oct 2023 12:49:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Timothee Mathieu <timothee.mathieu <at> inria.fr>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 01 Oct 2023 12:49:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
I am a guix beginner, slowly learning to use the shell command to make containers.
I tried to use the command from the documentation ( [ https://guix.gnu.org/manual/en/html_node/Invoking-guix-shell.html | https://guix.gnu.org/manual/en/html_node/Invoking-guix-shell.html ] ) to launch chromium with the advised command
guix shell --container --network --no-cwd ungoogled-chromium \
--preserve='^DISPLAY$' -- chromium
but with Xorg this does not seem to work due to permission error, the error is "Authorization required, but no authorization protocol specified".
I solved the problem by sharing .Xauthority and exposing the associated environment variable, and then it works:
guix shell --container --network --no-cwd ungoogled-chromium \
--preserve='^DISPLAY$' --preserve='^XAUTHORITY$' --share=$HOME/.Xauthority -- chromium
I think this should be added to the documentation to help people that want to use guix shell with Xorg.
Best regards,
Timothée Mathieu
[Message part 2 (text/html, inline)]
Reply sent
to
Mathieu Othacehe <othacehe <at> gnu.org>
:
You have taken responsibility.
(Thu, 26 Oct 2023 12:57:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Timothee Mathieu <timothee.mathieu <at> inria.fr>
:
bug acknowledged by developer.
(Thu, 26 Oct 2023 12:57:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 66295-done <at> debbugs.gnu.org (full text, mbox):
Hello,
> I solved the problem by sharing .Xauthority and exposing the associated environment variable, and then it works:
> guix shell --container --network --no-cwd ungoogled-chromium \
Thanks for reporting! As there is no patch here I will close this
ticket, however ...
> --preserve='^DISPLAY$' --preserve='^XAUTHORITY$' --share=$HOME/.Xauthority -- chromium
> I think this should be added to the documentation to help people that want to use guix shell with Xorg.
... that seems like a nice idea. If you can send a patch and open a new
ticket that would be great :).
Mathieu
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 24 Nov 2023 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 210 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.