Mailing List Archive

Non-member submission from [Chris Barker <barker@ling.ucsd.edu>] (fwd)
From: Chris Barker <barker@ling.ucsd.edu>
To: openssh-unix-dev@mindrot.org
Subject: X forwarding (still) broken on Linux

This may be a lack-of-adequate-documentation problem rather than a bug,
but I can't get X forwarding to work:

localhost$ set | grep DIS
DISPLAY=localhost.localdomain:11.0
localhost$ set | grep XA
XAUTHORITY=/tmp/ssh-gzg13204/cookies
localhost$ ssh -v localhost
SSH Version OpenSSH-1.2.3, protocol version 1.5.
Compiled with SSL.
[snip]
debug: Requesting X11 forwarding with authentication spoofing.
debug: Requesting authentication agent forwarding.
debug: Requesting shell.
debug: Entering interactive session.
Last login: Sat Apr 8 16:11:00 2000 from localhost
localhost$ xeyes
debug: Received X11 open request.
debug: channel 0: new [X11 connection from localhost port 1502]
debug: X11 connection uses different authentication protocol.
X11 connection rejected because of wrong authentication.
[snip]
debug: channel 0: full closed
X connection to localhost.localdomain:11.0 broken (explicit kill or
server shutd
own).
localhost$

I'm running a 2.2.13 kernel, XFree86 3.3.5-0, and pam 0.68-10.
Examination of X11 packets suggests that my X clients aren't even
trying to send a cookie, despite the fact that the XAUTHORITY
variable is correctly set. Ssh 2.0.13 used to work just fine...

CB