all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Wojtek Kosior via <help-guix@gnu.org>
To: Caleb Herbert <csh@bluehome.net>
Cc: help-guix@gnu.org
Subject: Re: Dino segfaults
Date: Thu, 7 Dec 2023 18:50:31 +0100	[thread overview]
Message-ID: <20231207185031.4a8b8d45.koszko@koszko.org> (raw)
In-Reply-To: <87h6kuhqyn.fsf@bluehome.net>

[-- Attachment #1: Type: text/plain, Size: 2207 bytes --]

> > Actually, I came up with 2 more improvements, the final command is
> >
> > guix shell --container --no-cwd --network \
> >     --share=/tmp/.X11-unix --expose="$XAUTHORITY" \
> >     dino bash \
> >     -- bash -c "DISPLAY='$DISPLAY' dino"  
> 
> caleb@miller ~❄️ guix shell --container --no-cwd --network \
> > --share=/tmp/.X11-unix --expose="$XAUTHORITY" \
> > dino bash \
> > -- bash -c "DISPLAY='$DISPLAY' dino"  
> Authorization required, but no authorization protocol specified
> 
> 
> (process:1): Gtk-WARNING **: 17:16:40.534: cannot open display: :1

Ahh, I forgot we also need to pass the XAUTHORITY variable to the
container.  How about this?

guix shell --container --no-cwd --network \
    --share=/tmp/.X11-unix --expose="$XAUTHORITY" \
    dino bash \
    -- bash -c "DISPLAY='$DISPLAY' XAUTHORITY='$XAUTHORITY' dino"

Best
Wojtek

-- (sig_start)
website: https://koszko.org/koszko.html
fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
follow me on Fediverse: https://friendica.me/profile/koszko/profile

♥ R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ== | ÷ c2luIHNlcGFyYXRlZCBtZSBmcm9tIEhpbQ==
✝ YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ== | ? U2hhbGwgSSBiZWNvbWUgSGlzIGZyaWVuZD8=
-- (sig_end)


On Thu, 07 Dec 2023 11:17:52 -0600 Caleb Herbert <csh@bluehome.net> wrote:

> Wojtek Kosior <koszko@koszko.org> writes:
> 
> > Actually, I came up with 2 more improvements, the final command is
> >
> > guix shell --container --no-cwd --network \
> >     --share=/tmp/.X11-unix --expose="$XAUTHORITY" \
> >     dino bash \
> >     -- bash -c "DISPLAY='$DISPLAY' dino"  
> 
> caleb@miller ~❄️ guix shell --container --no-cwd --network \
> > --share=/tmp/.X11-unix --expose="$XAUTHORITY" \
> > dino bash \
> > -- bash -c "DISPLAY='$DISPLAY' dino"  
> Authorization required, but no authorization protocol specified
> 
> 
> (process:1): Gtk-WARNING **: 17:16:40.534: cannot open display: :1
> 
> 
> > Also, unless there is some reason no to, I suggest we keep the Guix
> > mailing list in the Cc field  
> 
> Oh, sorry.  I pressed r instead of R when replying in Emacs.  We should
> be back on the mailing list now.
> 

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

  reply	other threads:[~2023-12-07 17:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-05 17:48 Dino segfaults Caleb Herbert
2023-12-05 18:29 ` Georgios Athanasiou
2023-12-05 18:57   ` Wojtek Kosior via
     [not found]     ` <87ttovo60m.fsf@bluehome.net>
     [not found]       ` <20231206143431.4b40443e.koszko@koszko.org>
2023-12-07 17:17         ` Caleb Herbert
2023-12-07 17:50           ` Wojtek Kosior via [this message]
2023-12-08 15:54             ` Caleb Herbert
2023-12-08 16:59               ` Georgios Athanasiou
2023-12-09 20:34                 ` Caleb Herbert
2023-12-09 21:25                   ` Igor Gajsin
2023-12-10 11:21                   ` Georgios Athanasiou
2023-12-10 17:28                     ` Caleb Herbert
2023-12-10 19:04                       ` Igor Gajsin
2023-12-11 17:21                         ` Caleb Herbert
2023-12-11 21:51                           ` Wojtek Kosior via
2023-12-10 19:20                       ` Georgios Athanasiou

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231207185031.4a8b8d45.koszko@koszko.org \
    --to=help-guix@gnu.org \
    --cc=csh@bluehome.net \
    --cc=koszko@koszko.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.