1833330 Members
2929 Online
110051 Solutions
New Discussion

SSHD forwarding in HP-UX

 
Filipe_1
Frequent Advisor

SSHD forwarding in HP-UX

Hi,

I have SSH (apparently) properly running and sound. I can login by it with no problem. But when I try to enable the X11 forwarding...

Here is how it is confiugred:

(...)

X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes

(...)

But it is simply not working.

After the succeful login by ssh..

$
$ xclock
Error: Can't open display:
$ echo $DISPLAY
ksh: DISPLAY: parameter not set
$

(...)

Id just don´t make any sense, as we have the very same configuration on other machine working fine.

Here: HP-UX 11.11

Any ideas?

Thanks

Fili
3 REPLIES 3
Jorge Fabregas
Regular Advisor

Re: SSHD forwarding in HP-UX

Hello Fili,

How are you connecting to the server? Using what client? I use the ssh command here on my Linux box. I append the switch "-X" to my ssh command to enable X11 forwarding.

Example:

ssh -l myLoginName serverAddress -X


On Windows, if you use PuTTY, make sure X11 forwarding is enable (in the options).

HTH,
Jorge
Filipe_1
Frequent Advisor

Re: SSHD forwarding in HP-UX

Yes, our client wich happens to be Putty is X11 forwarding enabled....
Jorge Fabregas
Regular Advisor

Re: SSHD forwarding in HP-UX

Fili,

Do you have an X Server running on your machine (like Exceed or Reflection)?

Jorge