From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key"
Date: Sat, 25 Apr 2009 19:59:04 +0200 [thread overview]
Message-ID: <200904251959.04563.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <49bf44f10904251025y53f13e19x2644203eca79a4c7@mail.gmail.com>
On Saturday 25 April 2009 19:25:26 Grant wrote:
> >> X-forwarding used to work for me but I haven't used it in a while and
> >> now I get:
> >>
> >> Warning: untrusted X11 forwarding setup failed: xauth key data not
> >> generated
> >> Warning: No xauth data; using fake authentication data for X11
> >> forwarding. Xlib: connection to "localhost:10.0" refused by server
> >> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> >> Cannot open display:
> >
> > Ah, I had this problem for months; it was driving me crazy!
> >
> > I don't remember the specifics, but it had to to with some wankery of
> > glibc not working properly with xauth. I'm pretty sure the fix is to
> > update to
> >
> >>=sys-libs/glibc-2.9_p20081201-r2 or regress glibc back a few ticks.
> >
> > Regards,
> > Wyatt
>
> Thanks Wyatt. I upgraded the server and client to the latest glibc in
> portage with the same result. When I tried to downgrade glibc, I got:
>
> * Sanity check to keep you from breaking your system:
> * Downgrading glibc is not supported and a sure way to destruction
And there's a very good reason for that message - I'm sure you can figure it
out. However, some downgrades are safe. You should be able to get away with
downgrading to any lower version in the same minor release - 2.9 in your case.
Tip: quickpkg glibc, portage, python, gcc and other vital stuff befoore you
try this stunt:
Edit the desired build, and look for this in pkg_setup():
if has_version '>'${CATEGORY}/${PF} ; then
eerror "Sanity check to keep you from breaking your system:"
eerror " Downgrading glibc is not supported and a sure way to
destruction"
die "aborting to save your system"
fi
Comment out the die call, re-digest, re-emerge.
The very very latest ebuild has it in files/eblits/pkg_setup.eblit instead,
but you won't be using that for a downgrade.
--
alan dot mckinnon at gmail dot com
next prev parent reply other threads:[~2009-04-25 18:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-24 15:01 [gentoo-user] X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key" Grant
2009-04-24 18:54 ` Wyatt Epp
2009-04-25 17:25 ` Grant
2009-04-25 17:59 ` Alan McKinnon [this message]
2009-04-25 17:56 ` Mike Kazantsev
2009-04-26 12:09 ` pk
2009-04-27 17:52 ` [gentoo-user] " Nikos Chantziaras
2009-04-30 15:59 ` Grant
2009-04-30 16:11 ` Alejandro
2009-04-30 16:17 ` Denis
2009-04-30 16:32 ` Stroller
2009-05-01 14:15 ` Grant
2009-05-01 15:00 ` Francesco Talamona
2009-05-01 15:05 ` Grant
2009-05-01 15:07 ` Grant
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=200904251959.04563.alan.mckinnon@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.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