ssh X forwarding fails with Linux VPS (Virtual Server)



Hello,

I cannot achieve X tunneling when I ssh into a remote system running Xeon
virtualization software. Does the virtualization software carry any
bearing on ssh? What can I do to fix the problem? Thank you in advance.

Pan Am

---
Details:
FC4, OpenSSH_4.2p1, OpenSSL 0.9.7f are installed on both local and remote
X forwarding works ok from local host to other systems,
"X11Forwarding yes" is set on vps sshd_config
In local shell xterm works fine (echo $DISPLAY returns :0.0 )
On remote vps system echo $DISPLAY is unset

ssh -l john -vv -X IP_of_VPS xterm fails with following log:

debug1: Host '.....' is known and matches the RSA host key.
Cannot determine realm for numeric host address
debug1: Next authentication method: password
<password entered>
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0
debug2: client_session2_setup: id 0
debug1: Sending command: xterm
debug2: channel 0: rcvd ext data 37
xterm Xt error: Can't open display:


I then tried to set "X11UseLocalhost no" in remote sshd, to no avail:

Cannot determine realm for numeric host address
Authentication succeeded (password).
Requesting X11 forwarding with authentication spoofing.
/usr/X11R6/bin/xauth: creating new authority file /home/admin/.Xauthority
/usr/X11R6/bin/xauth: (stdin):1: bad display name "vm99:10.0" in "remove"
SocketINETConnect() can't get address for vm07:6010: Name or service not
known xterm Xt error: Can't open display: vm99:10.0






*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***
.



Relevant Pages


Quantcast