Showing results for 
Search instead for 
Did you mean: 

ssh -X not forwarding X

Occasional Advisor

ssh -X not forwarding X

I have a brand new rx2600...

# uname -a
HP-UX host01 B.11.31 U ia64 ....

# sshd -v
OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14, OpenSSL 0.9.7l 28 Sep 2006
HP-UX Secure Shell-A.04.50.011, HP-UX Secure Shell version

Relevant sshd_config entries (afaik):

AddressFamily inet
X11Forwarding yes
X11UseLocalhost no
UseDNS no

I changed the address family as I thought perhaps there was a conflict when it was listening for IPV6. When I try to connect from my desktop linux machine via ssh -X (as I connect successfully to all of the other Linux / HPUX machines), I get no DISPLAY set on the server, and no X. In the syslog, I have a message saying:

sshd[PID]:error: Can't get IP address for X11 DISPLAY

Does anybody see something I'm missing here? Is there a known issue with a patch, or this build of sshd? I do connect to the server fine, it's just the X (or lack thereof) that I'm not understanding.
Occasional Advisor

Re: ssh -X not forwarding X

Moved this to HPUX forum.