From: Alejandro <elcorreodeale@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key"
Date: Thu, 30 Apr 2009 13:11:46 -0300 [thread overview]
Message-ID: <60a795cd0904300911t45a21a87ne2abff72defa453f@mail.gmail.com> (raw)
In-Reply-To: <49bf44f10904300859n1ef55ae1l8f97d97335f49089@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]
2009/4/30 Grant <emailgrant@gmail.com>
> >> 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:
> >>
> >> I have:
> >>
> >> # cat /etc/ssh/sshd_config | grep X11Forwarding
> >> X11Forwarding yes
> >>
> >> Does anyone know how to fix this?
> >
> > First, ssh to the box without X forwarding and:
> >
> > rm ~/.Xauthority
> > rm ~/.ICEauthority
> > logout
> >
> > Then try to ssh again with X forwarding enabled. It should work.
>
> Unfortunately I still get the same error. I'll try to put together an
> xauth command, but does anyone know what happened here? Usually you
> just enable X11Forwarding and you can use it right?
>
> - Grant
>
>
You also need ForwardX11 yes in your client configuration. Try ssh -v to get
more output.
[-- Attachment #2: Type: text/html, Size: 1598 bytes --]
next prev parent reply other threads:[~2009-04-30 16:11 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
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 [this message]
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=60a795cd0904300911t45a21a87ne2abff72defa453f@mail.gmail.com \
--to=elcorreodeale@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