help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running graphical apps with guix shell --container


From: Edouard Klein
Subject: Re: Running graphical apps with guix shell --container
Date: Fri, 28 Jan 2022 11:11:25 +0100
User-agent: mu4e 1.6.10; emacs 27.2

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]]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]