no display with ssh -X

Hello,

I´m using OpneSUSE for years with GIS-Servers. There are many advantages in starting programs on the server with the GUI at my desktop via ssh -X. That method always worked fine until my install of 11.4 64bit on a server (Server1) with a supermicro-board with onboard graphics. Another server (Server2) on desktop hardware with a nvidia graphics card works fine with ssh -X an 11.4.

QGis error:
QGIS starting in non-interactive mode not supported.
You are seeing this message most likely because you have no DISPLAY environment variable set.

Yast only runs without gui

pgAdmin3 error:
Error: Unable to initialize gtk, is DISPLAY set properly?

echo $DISPLAY shows nothing on server1,
on server2 echo $DISPLAY shows: localhost:10.0

Many thanks fpr your help. Andi

Hi Andi,

Is X11Forwarding set to “yes” in /etc/ssh/sshd_config on Server1 ?

If not change it and restart sshd (rcsshd restart), the default for X11Forwarding is “no”.

See “man sshd_config” and look for the X11Forwarding part.

If this does not help, post the output of “ssh -v -X ServerX” for both servers here.

Richard

“ssh -X” works in 11.4. I have used it. Now that you mention it, I have not yet tried with 12.1.

Manually starting “yast2” to use the GUI does not work for me with gnome, but it works with KDE.

Maybe try “yast2 -qt” and see if that works for you.

Works here from 12.1 to 11.4 box

I had the same problem:

AddressFamily inet

in /etc/ssh/sshd_config

worked for me!

it´ a pity, that did not change anything for me, thank you.

Server2:
andi@luth:~> ssh -v -X ServerX
OpenSSH_5.8p1, OpenSSL 1.0.0c 2 Dec 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
ssh: Could not resolve hostname ServerX: Name or service not known

Server1:
andi@tuba:~> ssh -v -X ServerX
OpenSSH_5.8p1, OpenSSL 1.0.0c 2 Dec 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
ssh: Could not resolve hostname ServerX: Name or service not known

I compared all conifg-files including ssh_config on both servers, I could not find any difference. Both running 11.4 64bit, on server1 11.4 is very fresh installed. KDE gui runs on both servers, i can use the local KDE-gui on server1 too.
One difference is, the server2 has a nvidia graphics card and server1 onboard graphics on the supermicro board. SUSE reports a AtiES1000515E. But from SUSE 10.3 to 11.0 ssh -X works at server 1.

please - are there any ideas out there? cheers Andi

hi nrickert, here the result for
tuba:/home/andi # yast2 -qt
yast2: Ungültige Option – q
yast2: Ungültige Option – t
Exit.

**CORRECTION: **
ForwardX11Trusted yes
ForwardX11 no

i changed it to YES, but no change, some errors and same output for ssh -v -X ServerX.
On Server2 ForwardX11 is set to no too, BUT nether the less x-forwarding works there!!!

Did you delete the comment sign before it and restarted?

Try enabling debug mod

Loglevel debug