Dear Linux community:
After days and days of work I am getting to the point where I want to shut
my self and I hope you can help me before I take an final decision.
I have an XServe with Panther installed and the Apple's distribution of
XDarwin.
I want to forward the graphics of a session to my Windows XP desktop which
has X/Cygwin installed and working.
The problem is that when I want to start a client in the server I from the
command line, get a message like this
angenome:~ admin$ xterm
xterm Xt error: Can't open display:
If I start X11, an xterm widow start, as expected, so I know X11 is working
in the server. What is strange is that when I just installed X11 in the
server I could start xterm without any problem. This stopped working
shortly,
though. I installed X11 twice with the same behavior.
Now, when I login from my WinXP within cygwin (and the X server working
already) I get:
I checked and I don't have any file in my home that could cause this
problem, such as .login, .bash_profile, .bashrc, etc.
If I echo $DISPLAY , I get just a blank line so I guess it is not set.
I don't know what to do. Every HOWTO that I read says that it should very
easy to forward X graphics through SSH, so I must be an idiot.
I include a verbose version of the connection, if that could be of any use.
Thanks a lot,
Ricardo.
####################
Code:
$ ssh -v -X rverdugo@angenome.ucdavis.edu /usr/X11R6/bin/xterm
OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.7c 30 Sep 2003
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to angenome.ucdavis.edu [169.237.111.244] port 22.
debug1: Connection established.
debug1: identity file /home/RAVerdugo/.ssh/identity type 0
debug1: identity file /home/RAVerdugo/.ssh/id_rsa type 1
debug1: identity file /home/RAVerdugo/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version
OpenSSH_3.6.1p1+CAN
-2003-0693
debug1: match: OpenSSH_3.6.1p1+CAN-2003-0693 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.7.1p2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'angenome.ucdavis.edu' is known and matches the RSA host key.
debug1: Found key in /home/RAVerdugo/.ssh/known_hosts:12
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue:
gssapi,publickey,password,keyboard-in
teractive
debug1: Next authentication method: publickey
debug1: Offering public key: /home/RAVerdugo/.ssh/id_rsa
debug1: Authentications that can continue:
gssapi,publickey,password,keyboard-in
teractive
debug1: Offering public key: /home/RAVerdugo/.ssh/id_dsa
debug1: Authentications that can continue:
gssapi,publickey,password,keyboard-in
teractive
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue:
gssapi,publickey,password,keyboard-in
teractive
debug1: Next authentication method: password
rverdugo@angenome.ucdavis.edu's password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending command: /usr/X11R6/bin/xterm
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
/usr/X11R6/bin/xterm Xt error: Can't open display:
debug1: channel 0: free: client-session, nchannels 1
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.2 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 1