unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Running graphical apps with guix shell --container
@ 2022-01-27 23:51 Luis Felipe
  2022-01-28 10:11 ` Edouard Klein
       [not found] ` <877daks3vs.fsf@ruhr-uni-bochum.de>
  0 siblings, 2 replies; 7+ messages in thread
From: Luis Felipe @ 2022-01-27 23:51 UTC (permalink / raw)
  To: help guix


[-- Attachment #1.1: Type: text/plain, Size: 935 bytes --]

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/

[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-01-29 20:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-27 23:51 Running graphical apps with guix shell --container Luis Felipe
2022-01-28 10:11 ` Edouard Klein
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

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).