Cannot run X over ssh



I _can_ and always have run X stuff over ssh on my 11.2 installation.

I maintain a machine remotely for a friend, have brought it from 11.3
to 11.4 remotely long ago.
At some point in the early days of 11.4 I _did_ run also X stuff there.

Otherwise the machine is just fine but now I just can't do X anymore.
I don't know for how long cos it's rare to need to.

I hadn't done this at home for a long time either so I started testing.

Same result, no can do. Not on _any_ 11.4 or above.
I get these messages:

All 64 bit machines (11.4, 11.4 Tumbleweed and 12.1):

$ssh -X
$ xclock
connect /tmp/.X11-unix/X0: No such file or directory
connect /tmp/.X11-unix/X0: No such file or directory
connect /tmp/.X11-unix/X0: No such file or directory
connect /tmp/.X11-unix/X0: No such file or directory
Error: Can't open display: localhost:10.0

11.4 Tumbleweed 32 bit, 2 of them:
:~> xclock
Error: Can't open display:

All machines have it though:

$ ls /tmp/.X11-unix/X0
/tmp/.X11-unix/X0

$ file /tmp/.X11-unix/X0
/tmp/.X11-unix/X0: socket

_Except_ 11.2 which I _can_ connect to, doen't have it:

$ ls /tmp/.X11-unix/X0
ls: cannot access /tmp/.X11-unix/X0: No such file or directory

So something has changed obviously.
What needs to be changed accordingly?
This socket lives in /tmp so maybe someone creates it by itself but how?

So far everything is like default I haven't changed anythig..

Vahis
--
http://waxborg.servepics.com
openSUSE 11.2 (x86_64) 2.6.31.14-0.8-default "Evergreen" main host
openSUSE 12.1 Milestone 5 (x86_64) 3.1.0-rc6-2-desktop in VBox
openSUSE 11.4 (i586) 3.0.4-43-desktop "Tumbleweed" in EeePC 900
.



Relevant Pages

  • Re: Cannot run X over ssh (its fine now)
    ... tester@lamborghini:~> xclock ... Error: Can't open display: ... Then after removing .Xauthority: ... Immediately after ssh -X lamborghini, ...
    (alt.os.linux.suse)
  • Re: Nedit -- SMC wont run Xsun problems?
    ... Nedit won't run with a NEdit: Can't open display and ... SMC & opens a window at the "splash screen" but hangs with a hour glass ... What happens when you type "xclock &"? ...
    (comp.unix.solaris)
  • Re: log on
    ... Open Control Panel, open Display, go to the Screen Saver tab, remove the ... >>Backup is a PC User's Best Friend ...
    (microsoft.public.windowsxp.accessibility)
  • Re: "E233: cannot open display" when starting gvim on ubuntu 8.04 root ?shell
    ... Error: Can't open display: localhost:0.0 ... # kdesudo gvim /etc/fstab ... You'll get that error if /etc/hosts defines only 127.0.0.1 as localhost, ...
    (comp.os.linux.setup)
  • [opensuse] ssh -X localhost
    ... Error: Can't open display: ... The same works on SLES11. ... why isn't X forwarded anymore and what's the "approved" way to do it now? ...
    (SuSE)