1

I need to invoke an xterm on a SLES 11 machine (machine A) from another SLES 11 machine (machine B). Currently it doesn't work. So I decided to test some stuff.

On machine A the following works: DISPLAY=:0.0 xterm However this doesn't: DISPLAY=localhost:0.0 xterm

I'm working on the assumption that if the latter doesn't work then a remote connection won't either.

To me it looks like a permissions issue.

Any help will be greatly appreciated.

Thanks!

James
  • 113

3 Answers3

0

Are you sure that the X server on machine B is configured to accept the connection from machine A ? ("xhost +" and firewall off)

btw on my machine with default settings, therer is no "localhost" keyword, just the 1st line just like your mentioned it.

Rosco
  • 455
0

Have you tried using ssh with X11 forwarding? It's the easiest and most secure variant these days.

ssh -X username@hostname

Sven
  • 100,763
0

thanks for the other answers. My problem was due to a setting in YaST > Security and Users > Local Security callded 'Disable remote access to the X server'. Enabling this, configuring/disabling the firewall and running xhost + seems to do the trick.

James
  • 113