all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: t@fullmeta.me
To: "Daniel Meißner" <daniel.meissner-i4k@ruhr-uni-bochum.de>
Cc: help-guix@gnu.org
Subject: Re: Emacs inside container: preserved DISPLAY unavailable etc
Date: Wed, 05 Jan 2022 13:09:52 +0000	[thread overview]
Message-ID: <b4f27d76-3b76-4ac3-a04d-0be2d9e3154d@www.fastmail.com> (raw)
In-Reply-To: <8735m2uzja.fsf@ruhr-uni-bochum.de>

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


  reply	other threads:[~2022-01-05 13:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-04 12:29 Emacs inside container: preserved DISPLAY unavailable etc t
2022-01-04 17:03 ` zimoun
2022-01-04 17:11   ` Vlad Kozin
2022-01-05 12:39 ` Daniel Meißner
2022-01-05 13:09   ` t [this message]
2022-01-05 14:48     ` Daniel Meißner

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=b4f27d76-3b76-4ac3-a04d-0be2d9e3154d@www.fastmail.com \
    --to=t@fullmeta.me \
    --cc=daniel.meissner-i4k@ruhr-uni-bochum.de \
    --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.
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.