Re: Cannot run X over ssh (it's fine now)

On 2011-09-30, J G Miller <miller@xxxxxxxx> wrote:
On Friday, September 30th, 2011 at 10:31:40h +0000, Vahis wrote:

tester@lamborghini:~> echo "->${DISPLAY}<-" -><-

Nothing, no wonder it can't be opened.

Thanks for doing the tests.

Thus DISPLAY is not set when you login to lamborghini.

Which distribution/version do you have on lamborghini
compare to the other machines?

The one we're talking about now is 11.4 Tumbleweed 32 bit, HW.

I'm happy I happened to have one at home with same problem
as the original troublemaker (remote) 11.4 32 bit, HW.

The good ones are
1x 11.2, 64 bit, HW,
2x 11.4, 32 bit, HW
1x 11.4, 64 bit, virtual
1x 11.4 Tumbleweed, 64 bit, virtual
1x 12.1, 64 bit, virtual

Is the sshd config file on that machine identical to
the other machines?

Should be, done nothing about it.
I can copy it from a good machine and try.

The other possibility is that your shell initialization
files on lamborghini are wiping DISPLAY. For bash,
this could be anything from /etc/profile to your

I have copied .bashrc from a good machine.
They were supposed to be identical anyways.

IF you manually do

export DISPLAY="localhost:10.0"

on lamborghini immediately after slogin -X lamborghini
and try xeyes, does that work?

[tester ~]$ ssh -X lamborghini
Last login: Fri Sep 30 13:22:24 2011 from
Have a lot of fun...
tester@lamborghini:~> export DISPLAY="localhost:10.0"
tester@lamborghini:~> xeyes
Error: Can't open display: localhost:10.0

IF that works then the authentication is okay,
and the only question is why does DISPLAY not have
a value.

This is ocally on lamborhini:
ssh -X localhost


Just an empty line there.

openSUSE 11.2 (x86_64) "Evergreen" main host
openSUSE 12.1 Beta 1 (x86_64) 3.1.0-rc6-2-desktop in VBox
openSUSE 11.4 (i586) 3.0.4-43-desktop "Tumbleweed" in EeePC 900