From: Edouard Klein <edou@rdklein.fr>
To: Luis Felipe <luis.felipe.la@protonmail.com>
Cc: help-guix@gnu.org
Subject: Re: Running graphical apps with guix shell --container
Date: Fri, 28 Jan 2022 11:11:25 +0100 [thread overview]
Message-ID: <87bkzw9ngl.fsf@rdklein.fr> (raw)
In-Reply-To: <_sUGXAdCvo3BV2gTs80KOeKy9wBY_5m2CVeQ0oy2DFbOdA4C_MabuwdfJ56ESbJ-bQHrs7sy6ZmUR5Pw7QmztSeCKV0cMMHhvvO77DfkIAc=@protonmail.com>
I won't be specifically helpful, but I never managed to get chromium to
run in a container. It crashes almost immediately. If you ever manage
it, I'd be happy to know the magic command that allows it.
Cheers,
Edouard.
Luis Felipe <luis.felipe.la@protonmail.com> writes:
> [[PGP Signed Part:Undecided]]
> Hi,
>
> I'm trying to run a GTK application in an isolated environment, but the application seems to fail when trying to be displayed. I'm running these commands:
>
> EXAMPLE:
> $ guix shell -C --preserve='^DISPLAY$'
> $ python3 mazo
> INFO: No database found. Creating it.
> INFO: Database created.
> Unable to init server: Could not connect: Connection refused
> Unable to init server: Could not connect: Connection refused
> Unable to init server: Could not connect: Connection refused
>
> (mazo:2): Gtk-WARNING **: 23:24:28.154: cannot open display: :1
> END EXAMPLE
>
> Also, trying the following example from Guix manual, the browser does not start:
>
> EXAMPLE:
> $ guix shell --container --network --no-cwd ungoogled-chromium --preserve='^DISPLAY$' -- chromium
> Authorization required, but no authorization protocol specified
> END EXAMPLE
>
> I'm using Guix System 037c2b6.
>
>
> ---
> Luis Felipe López Acevedo
> https://luis-felipe.gitlab.io/
>
> [2. application/pgp-keys; publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc]...
>
> [[End of PGP Signed Part]]
next prev parent reply other threads:[~2022-01-28 10:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-27 23:51 Running graphical apps with guix shell --container Luis Felipe
2022-01-28 10:11 ` Edouard Klein [this message]
2022-01-28 15:42 ` Luis Felipe
2022-01-28 21:12 ` Edouard Klein
[not found] ` <877daks3vs.fsf@ruhr-uni-bochum.de>
2022-01-28 15:22 ` Luis Felipe
2022-01-28 16:01 ` Luis Felipe
2022-01-29 20:15 ` Luis Felipe
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=87bkzw9ngl.fsf@rdklein.fr \
--to=edou@rdklein.fr \
--cc=help-guix@gnu.org \
--cc=luis.felipe.la@protonmail.com \
/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).