[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs inside container: preserved DISPLAY unavailable etc
From: |
Daniel Meißner |
Subject: |
Re: Emacs inside container: preserved DISPLAY unavailable etc |
Date: |
Wed, 05 Jan 2022 15:48:17 +0100 |
t@fullmeta.me writes:
> > Authorization required, but no authorization protocol specified
>
> Actually, mine only said "No protocol specified" making it vague, yours at
> least hint at something to investigate.
Yes, the error message changed indeed the last time I tried the container
example. I just blindly copied and pasted the output from my shell without
noticing really.
> Googling around shows people don't seem to know what they are doing and
> afraid to dig into X internals, so most posts are just cargo-culting and
> trying random stuff. Sadly, I'm in that group, so lets just randomly try
> stuff:
>
> $ echo $XAUTHORITY
> /run/user/1000/gdm/Xauthority
>
> which stores some magic cookie, so lets add
>
> --expose=$XAUTHORITY --preserve='^XAUTHORITY$'
>
> standing ovation, everyone congratulates everyone, noone really understands
> what just happened
>
> I guess manual needs to be updated, or maybe guix shell --container Scheme
> code. Dunno
>
> Thank you very much for that STDERR hint
Happy my comment helped and thank you for your solution I will try that for the
chromium example as well.
Best,
Daniel