1834018 Members
2231 Online
110063 Solutions
New Discussion

X11 forwarding and ssh

 
Jimmy Tom_2
Frequent Advisor

X11 forwarding and ssh

Ive installed ssh from the HP app cds and having some problems with X11 forwarding

the default file

/opt/ssh/etc/ssh_config

now has the line

FowardX11 yes

which would imply that connections should fwd X11 traffic. On my client "putty" I've also enabled X11 Tunnelling. Supposedly, when the connection is made, the Display env should be set automatically. This automatic portion is not working. Any advice? Am I missing a step that is specific to HP? I've tried several restarts and reconnects and changes in sequence of applications starts:

start exceed, then ssh client
start ssh client, then exceed
reboot server, reboot PC, repeat the above steps

Thanks in advance
3 REPLIES 3
Robert-Jan Goossens
Honored Contributor

Re: X11 forwarding and ssh

Hi,

Take a look at this answer I pulled on google,

Problem: User wishes to export X windows display from cplant-srn to desktop PC but gets an "_X11TransSocketINETConnect: Can't connect: errno = 111" error. Solution: Install latest Openssh and enabled FowardX11 and ForwardAgent options.

does this help,

Kind regards,

Robert-Jan
Robert-Jan Goossens
Honored Contributor

Re: X11 forwarding and ssh

Bill Douglass
Esteemed Contributor

Re: X11 forwarding and ssh

You need to have X11 Forwarding enabled on bot the client and server side.

In PuTTY, load your connection profile, then go to Connections->SSH->Tunnels. Enable the check_box that says Forward X11.

On the server side, enable the X11 Forwarding option in sshd_config.
(sshd_config controls options for incoming connections; ssh_config controlls outbound ssh sessions).