Greetings. I have a question regarding X forwarding and ssh, and I wonder
if some of you might know the answer.
The gist of the problem is that we're running openssh 2.1.1p4 on some of
our systems here. We use RPM's which have X forwarding enabled by
default. When we ssh from one system (A) to a second system (B), the
display on B gets correctly set to a pseudo display on B, but we when we
try to run an X application (xclock), we get a mismatch of authentication
protocols: MIT-MAGIC-COOKIE-1 versus none at all.
In a non-ssh environment we would use xauth to extract the cookie from one
system and add it to the other. But in this case, I don't know what to
do. If I type, for instance,
[root@sysB /root]# xauth list
I get no output at all.
I've appended a log of a typical session. Can anybody tell me what further
steps we need to take to make this work? Thanks.
- Mike
[root@sysA /root]# rpm -qa | grep ssh
openssh-askpass-2.1.1p4-1.6x
openssh-2.1.1p4-1.6x
openssh-server-2.1.1p4-1.6x
[root@sysA /root]# which ssh
/usr/bin/ssh
[root@sysA /root]# ssh sysB
root's password:
Last login: Wed Jan 31 17:38:32 from sysA.ucdavis.edu
[root@sysB /root]# printenv DISPLAY
sysB.ucdavis.edu:11.0
[root@sysB /root]# xclock &
[1] 17660
[root@sysB /root]# X11 connection requests different authentication
protocol: 'MIT-MAGIC-COOKIE-1' vs. ''.
X connection to sysB.ucdavis.edu:11.0 broken (explicit kill or server
shutdown).
[1]+ Exit 1 xclock
[root@sysB /root]#
==========
Michael Hannon [EMAIL PROTECTED]
Dept. of Physics 530.752.4966
University of California 530.752.4717 FAX
Davis, CA 95616-8677