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



On 2011-09-29, Vahis <waxborg@xxxxxxxxxxxxxxxxx> wrote:
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.

$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

Solution On the client (local) machine:

xhost +localhost

Then ssh -X remotemachine

Works :)

Vahis
--
http://waxborg.servepics.com
openSUSE 11.2 (x86_64) 2.6.31.14-0.8-default "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
.