unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: ison <ison@airmail.cc>
To: "Daniel Meißner" <daniel.meissner-i4k@ruhr-uni-bochum.de>
Cc: help-guix@gnu.org
Subject: Re: Container example for guix shell fails
Date: Thu, 16 Dec 2021 06:49:53 -0700	[thread overview]
Message-ID: <87o85godwl.fsf@airmail.cc> (raw)
In-Reply-To: <87sfuswvb7.fsf@ruhr-uni-bochum.de>

Are you using xorg or wayland? If xorg then try adding an extra
--preserve='^XAUTHORITY$'

Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de> writes:

> Hi Guix!
>
> I am currently trying to understand how to run programs in containers
> with Guix.  In the manual it says the following should launch
> ungoogled-chromium in an isolated environment with network.  However, it
> fails:
>
> $ guix shell --container --network --no-cwd ungoogled-chromium --preserve='^DISPLAY$' -- chromium
> substitute: Liste der Substitute von „https://ci.guix.gnu.org“ wird aktualisiert … 100.0%
> Folgende Ableitung wird erstellt:
>    /gnu/store/sxvvbwqzbg776i1ih5k7wwmn71m8p80b-profile.drv
>
> 67,6 MB werden heruntergeladen
>  bash-5.1.8-doc  301KiB                                    3.2MiB/s 00:00 [##################] 100.0%
>  bash-5.1.8-include  67KiB                                 2.3MiB/s 00:00 [##################] 100.0%
>  ungoogled-chromium-96.0.4664.93-1  62.9MiB                9.0MiB/s 00:07 [##################] 100.0%
> Zertifikatsbündel der Zertifikatsautoritäten wird erstellt …
> Liste der Emacs-Unterverzeichnisse wird erzeugt …
> Schriftartenverzeichnis wird erstellt …
> generating GdkPixbuf loaders cache...
> Zwischenspeicher für GLib-Schemata wird erzeugt …
> Zwischenspeicher für GTK-Symbolthemen wird erzeugt …
> Dateien im Zwischenspeicher für GTK-Eingabemethoden werden erstellt …
> Verzeichnis von Info-Handbüchern wird erstellt …
> Zwischenspeicher für XDG-Desktop-Dateien wird erzeugt …
> XDG-Mime-Datenbank wird erstellt …
> Profil mit 1 Paket wird erstellt …
> No protocol specified
>
> What am I doing wrong?
>
> Best
> Daniel



  parent reply	other threads:[~2021-12-16 13:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-16 13:09 Container example for guix shell fails Daniel Meißner
2021-12-16 13:48 ` zimoun
2021-12-16 15:57   ` Daniel Meißner
2021-12-16 17:37   ` Leo Famulari
2021-12-16 18:22     ` zimoun
2021-12-16 13:49 ` ison [this message]
2021-12-16 14:00   ` Daniel Meißner

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=87o85godwl.fsf@airmail.cc \
    --to=ison@airmail.cc \
    --cc=daniel.meissner-i4k@ruhr-uni-bochum.de \
    --cc=help-guix@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.
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).