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
ssh -Y
instead ofssh -X
(using-Y
instead of-X
setsForwardX11Trusted
on, which is the default on debian/ubuntu but not on other systems). – Jan 18 '20 at 23:13gedit
and other gnome things do their own "application server" / dbus thing and may end up opening the window on the local display. Maybe this could help. – Jan 18 '20 at 23:17