From: Luis Felipe <luis.felipe.la@protonmail.com>
To: help guix <help-guix@gnu.org>
Subject: Running graphical apps with guix shell --container
Date: Thu, 27 Jan 2022 23:51:05 +0000 [thread overview]
Message-ID: <_sUGXAdCvo3BV2gTs80KOeKy9wBY_5m2CVeQ0oy2DFbOdA4C_MabuwdfJ56ESbJ-bQHrs7sy6ZmUR5Pw7QmztSeCKV0cMMHhvvO77DfkIAc=@protonmail.com> (raw)
[-- 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 --]
next reply other threads:[~2022-01-27 23:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-27 23:51 Luis Felipe [this message]
2022-01-28 10:11 ` Running graphical apps with guix shell --container 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
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='_sUGXAdCvo3BV2gTs80KOeKy9wBY_5m2CVeQ0oy2DFbOdA4C_MabuwdfJ56ESbJ-bQHrs7sy6ZmUR5Pw7QmztSeCKV0cMMHhvvO77DfkIAc=@protonmail.com' \
--to=luis.felipe.la@protonmail.com \
--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).