On 2011. 01. 21., Friday 01:21:02 you wrote:
On 01/20/2011 08:52 AM, benefici@fastmail.fm wrote:
Hi, I have just installed openSUSE 11.3 on a PC, basically did a minimal X install. However, when I ssh to this box with ssh -X <host>, I cannot run X applications, e.g. xterm. I get: xterm Xt error: Can't open display: xterm: DISPLAY is not set
The problem is probably on the remote PC because I can use X forwarding from the same client to other remote hosts. Maybe a required package is missing? Any ideas?
Thanks, Tom
Tom,
Just a couple of things to check:
On the SERVER
Enable the AllowTcpForwarding option in sshd_config on the server. Enable the X11Forwarding option in sshd_config on the server. Set the X11DisplayOffset option in sshd_config on the server to 10. Enable the X11UseLocalhost option in sshd_config on the server.
On the CLIENT
Enable the ForwardX11 option in ssh_config on the client.
Thanks for the suggestions. Actually, I could get X forwarding to work along these lines, but with a different combination: AllowTcpForwarding: didn't matter whether I enabled it or not / commented out or not. X11Forwarding: was set to "yes" already X11DisplayOffset: didn't change anything X11UseLocalhost: was commented out (and set to "yes"), I had to uncomment it and change its value to "no" and then X forwarding started to work! So I'm going to look up X11UseLocalhost and see what it does. Cheers, Tom -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org