From: Luis Felipe <sirgazil@zoho.com>
To: Giacomo <goodoldpaul@autistici.org>, guix-devel@gnu.org
Subject: Re: guix shell documentation, container example
Date: Sun, 19 Nov 2023 13:07:40 +0000 [thread overview]
Message-ID: <30f00ca3-445f-9f60-39b9-5a6d7778ca5f@zoho.com> (raw)
In-Reply-To: <AA5A9FD8-420B-41BD-9EA0-06F28359560F@autistici.org>
[-- Attachment #1.1.1: Type: text/plain, Size: 1717 bytes --]
Hi,
El 19/11/23 a las 8:56, Giacomo escribió:
> Hi Nicolas,
>
> It seems you are running this command under Wayland and the person who
> wrote it did under X11.
>
> Maybe try the same command under X11?
I'm using X11 and get the same error.
I don't know what's the appropriate way of running a contained browser,
but the following command from my notes works to some extent:
guix shell -CN --no-cwd ungoogled-chromium fontconfig \
-E "^DISPLAY$" -E "^XAUTHORITY$" --expose="$XAUTHORITY" \
--expose=/tmp/.X11-unix/ --expose=$HOME/.Xauthority \
--expose=/etc/machine-id --expose=/dev/dri \
--expose=/var/run/dbus/system_bus_socket \
-- chromium --incognito
The browser starts, and I can browse the web, but there are lots of
other error messages.
Also, I didn't take note on why I need to expose all these resources,
so be careful :)
>
>
> Il 18 novembre 2023 15:05:28 CET, "Nicolas Débonnaire"
> <n.debonnaire@gmail.com> ha scritto:
>
> Hi,
> When running the example herebelow, from the guix shell
> documentation, an error is returned:
>
> guix shell --container --network --no-cwd ungoogled-chromium \
> --preserve='^DISPLAY$' -- chromium
>
> [1:14:1118/140039.476338:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
> Authorization required, but no authorization protocol specified
>
> [1:1:1118/140039.498151:ERROR:ozone_platform_x11.cc(239)] Missing X server or $DISPLAY
> [1:1:1118/140039.498166:ERROR:env.cc(255)] The platform failed to initialize. Exiting.
>
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2881 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
prev parent reply other threads:[~2023-11-19 13:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-18 14:05 guix shell documentation, container example Nicolas Débonnaire
2023-11-19 8:56 ` Giacomo
2023-11-19 13:07 ` Luis Felipe [this message]
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=30f00ca3-445f-9f60-39b9-5a6d7778ca5f@zoho.com \
--to=sirgazil@zoho.com \
--cc=goodoldpaul@autistici.org \
--cc=guix-devel@gnu.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).