This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: cygwin xfree86 & ssherror : X11 connection uses different authentication protocol


Update:
I completely removed Cygwin, and reinstalled it (broadband is so nice :)

I still have the same "different auth protocol" message when connecting.

My "server" (actually that's client, isn't it? :-) the Linux box, has
X11 forwarding enabled in /etc/sshd/sshd_config:
Port 22
Protocol 2,1
StrictModes no #(was yes; I tried both)
X11Forwarding yes

On my Win2k Cygwin install, I run "xhosts +".

I've also tried connecting to the Linux box using regular users, not
just root. The command I issue is: 
ssh -v -l scott mylinuxbox.foo.com -X

Hmm.


-----Original Message-----
From: Scott Prive 
Sent: Tuesday, October 30, 2001 5:50 PM
To: Cygwin-Xfree (E-mail)
Subject: cygwin xfree86 & ssherror : X11 connection uses different
authentication protocol


Hello,

Attempting to forward X11 without much success. 

My local system is a Windows 2000 PC running the very latest Cygwin
binaries, plus the xfree86 binaries.  Xfree is running great locally
under Windows. My Linux server - which is on a different subnet - is a
Red Hat 7.2 system running XFree86. There is no firewall between the
client and the server. The Linux server runs X11 just fine locally,

My steps:
1) From a local cygwin shell on NT, I run "startxwin.sh" and X starts
with a term.
2) ssh -v -l root mylinuxbox.foo.com -X  (ssh version is what comes with
Cygwin and is very recent)
3) Attempt starting an X11 app on the Linux box, such as "xeyes" or
"kwrite", and I get the following info:

[root@zaphod /root]# xeyes
debug1: client_input_channel_open: ctype x11 rchan 2 win 4096 max 2048
debug1: client_request_x11: request from 192.168.100.21 35785
debug1: fd 8 setting O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug1: X11 connection uses different authentication protocol.
debug1: X11 rejected 1 i1/o16
debug1: channel 1: read failed
debug1: channel 1: input open -> drain
debug1: channel 1: close_read
debug1: channel 1: write failed
debug1: channel 1: output open -> closed
debug1: channel 1: close_write
debug1: X11 closed 1 i2/o128

In particular, the "X11 connection uses different authentication
protocol" seems to imply a software/configuration issue, but I am
surprised because Cygwin/Windows to Linux (RH) must be very common.

Any help is most appreciated! 

Thanks!

Scott Prive




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]