[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dino segfaults
From: |
Wojtek Kosior |
Subject: |
Re: Dino segfaults |
Date: |
Thu, 7 Dec 2023 18:50:31 +0100 |
> > 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.
>
pgpquTxZfnTrd.pgp
Description: OpenPGP digital signature
- Dino segfaults, Caleb Herbert, 2023/12/05
- Re: Dino segfaults, Georgios Athanasiou, 2023/12/05
- Re: Dino segfaults, Wojtek Kosior, 2023/12/05
- Message not available
- Message not available
- Re: Dino segfaults, Caleb Herbert, 2023/12/07
- Re: Dino segfaults,
Wojtek Kosior <=
- Re: Dino segfaults, Caleb Herbert, 2023/12/08
- Re: Dino segfaults, Georgios Athanasiou, 2023/12/08
- Re: Dino segfaults, Caleb Herbert, 2023/12/09
- Re: Dino segfaults, Igor Gajsin, 2023/12/10
- Re: Dino segfaults, Georgios Athanasiou, 2023/12/10
- Re: Dino segfaults, Caleb Herbert, 2023/12/10
- Re: Dino segfaults, Georgios Athanasiou, 2023/12/10
- Re: Dino segfaults, Igor Gajsin, 2023/12/11
- Re: Dino segfaults, Caleb Herbert, 2023/12/11
- Re: Dino segfaults, Wojtek Kosior, 2023/12/11