Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

X11 auth data does not match fake data

359 views
Skip to first unread message

michael_...@my-deja.com

unread,
Nov 23, 1999, 3:00:00 AM11/23/99
to

i get an error when i try to display an X window
back to my local host from an openSSH session to
a solaris box. i enabled display back to my
machine from anywhere using "xhost +", but
that doesn't seem to have anything to do
with the problem.

here's the error message i get from trying
to run xclock from an ssh -v session:

any suggestions?

thanks,

mike

> xclock
debug: Received X11 open request.
debug: channel 0: new [X11 connection from xor.com
port 4725]
debug: X11 auth data does not match fake data.
X11 connection rejected because of wrong
authentication.

debug: X11 rejected 0 i1/o16
debug: channel 0: INPUT_OPEN -> INPUT_WAIT_DRAIN
[read failed]
debug: channel 0: shutdown_read
debug: channel 0: OUTPUT_OPEN -> OUTPUT_WAIT_IEOF
[write failed]
debug: channel 0: shutdown_write
debug: X11 rejected 0 i2/o64
debug: channel 0: INPUT_WAIT_DRAIN ->
INPUT_WAIT_OCLOSE [inbuf empty, send IEOF]debug:
channel 0: OUTPUT_WAIT_IEOF -> OUTPUT_CLOSED [rvcd
IEOF]
debug: channel 0: INPUT_WAIT_OCLOSE ->
INPUT_CLOSED [rcvd OCLOSE]
debug: channel 0: closing
XIO: fatal IO error 32 (Broken pipe) on X server
"(null)"
after 0 requests (0 known processed) with 0
events remaining.
The connection was probably broken by a
server shutdown or KillClient.


Sent via Deja.com http://www.deja.com/
Before you buy.

Robert A. Knop Jr.

unread,
Nov 23, 1999, 3:00:00 AM11/23/99
to
michael_...@my-deja.com wrote:
>
> i get an error when i try to display an X window
> back to my local host from an openSSH session to
> a solaris box. i enabled display back to my
> machine from anywhere using "xhost +", but
> that doesn't seem to have anything to do
> with the problem.

> ...

> any suggestions?

I was having the same problem. I solved it, but I don't fully
understand the solution.

I had several machines; for some of them, X11 forwarding over the SSH
channel was working, but for others I was having exactly the problem you
describe. I eventually found the diagnostic difference. I would ssh to
each machine and run "xauth list". On the machines where X11 forwarding
was working, the line that the xauth command returned was returning the
name of the machine; on the ones where it wasn't working, the xauth
command was returning "localhost.localdomain".

The difference, it seems, is in the /etc/hosts file. The ones that were
broken had the name of the host listed for 127.0.0.1 along with
localhost.localdomain and localhost. Try editing /etc/hosts so that
*only* localhost.localdomain and localhost appear for 127.0.0.1, and see
if that fixes your problem.

If anybody who understands Xauth could explain why having the host name
listed for 127.0.0.1 causes this problem, I'd be grateful. Myself, I'm
using openSSH1.2pre12 (and pre14) on Linux 2.2.13ac3 (Redhat 6.1).

-Rob

0 new messages