This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Can't get DISPLAY to set correctly
- From: Ghunter <hunterg1 at hotmail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Thu, 5 May 2005 15:28:02 +0000 (UTC)
- Subject: Can't get DISPLAY to set correctly
- Reply-to: cygwin-xfree at cygwin dot com
Hello,
I've been trying to get Xterm to open a new window on my machine and nothing
is working. I am on a XP Pro and connecting to a sun. Here is the output I
get, and it looks like it should work, but my DISPLAY is never set once I ssh
in, and thus I can't open any windows.
user1@MyXPMachine ~
$ echo $DISPLAY
204.169.1.10:0.0
user1@MyXPMachine ~
$ ssh -v -Y 204.169.1.40
OpenSSH_3.9p1, OpenSSL 0.9.7f 22 Mar 2005
debug1: Connecting to 204.169.1.40 [204.169.1.40] port 22.
debug1: Connection established.
debug1: identity file /home/user1/.ssh/identity type -1
debug1: identity file /home/user1/.ssh/id_rsa type -1
debug1: identity file /home/user1/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.9p1
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(1024<1024<8192) 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 '204.169.1.40' is known and matches the RSA host key.
debug1: Found key in /home/user1/.ssh/known_hosts:1
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: publickey,password,keyboard-
interacti
ve
debug1: Next authentication method: publickey
debug1: Trying private key: /home/user1/.ssh/identity
debug1: Trying private key: /home/user1/.ssh/id_rsa
debug1: Trying private key: /home/user1/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-
interacti
ve
debug1: Next authentication method: password
user1@204.169.1.40's password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
Warning: No xauth data; using fake authentication data for X11 forwarding.
debug1: Requesting X11 forwarding with authentication spoofing.
Last login: Thu May 5 08:51:28 2005 from 204.169.1.10
Sun Microsystems Inc. SunOS 5.8 Generic Patch February 2004
[MySunMachine:/home/user1] echo $DISPLAY
[MySunMachine:/home/user1] xclock
Error: Can't open display:
[MySunMachine:/home/user1] exitdebug1: client_input_channel_req: channel 0
rtype e
xit-status reply 0