I'm on a using ssh -X to get into a gateway server (GW) and from there to another machine (A). Things work and I'm able to open applications (like gedit).
However, when I do the same thing to open apps on Machine B (again through GW) I run into problems.
I can open xclock but not gedit or other programs (I'm not getting any errors either).
I've tried to set the settings on the server (/etc/ssh/sshd_config) as follows:
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
But things are still not working. Also, with echo $DISPLAY I get: localhost:10.0