Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key"
Date: Thu, 30 Apr 2009 15:59:12
Message-Id: 49bf44f10904300859n1ef55ae1l8f97d97335f49089@mail.gmail.com
In Reply to: [gentoo-user] Re: X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key" by Nikos Chantziaras
1 >> X-forwarding used to work for me but I haven't used it in a while and now
2 >> I get:
3 >>
4 >> Warning: untrusted X11 forwarding setup failed: xauth key data not
5 >> generated
6 >> Warning: No xauth data; using fake authentication data for X11 forwarding.
7 >> Xlib: connection to "localhost:10.0" refused by server
8 >> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
9 >> Cannot open display:
10 >>
11 >> I have:
12 >>
13 >> # cat /etc/ssh/sshd_config | grep X11Forwarding
14 >> X11Forwarding yes
15 >>
16 >> Does anyone know how to fix this?
17 >
18 > First, ssh to the box without X forwarding and:
19 >
20 >  rm ~/.Xauthority
21 >  rm ~/.ICEauthority
22 >  logout
23 >
24 > Then try to ssh again with X forwarding enabled.  It should work.
25
26 Unfortunately I still get the same error. I'll try to put together an
27 xauth command, but does anyone know what happened here? Usually you
28 just enable X11Forwarding and you can use it right?
29
30 - Grant

Replies

Subject Author
Re: [gentoo-user] Re: X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key" Alejandro <elcorreodeale@×××××.com>
Re: [gentoo-user] Re: X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key" Stroller <stroller@××××××××××××××××××.uk>