On 09/10/2011 05:27 AM, Patrick Shanahan wrote:
* James Knott<james.knott@rogers.com> [09-09-11 21:46]:
Silviu Marin-Caea wrote:
This doesn't work in 11.4 Tumbleweed:
ssh -X localhost xclock Error: Can't open display:
The same works on SLES11. What has changed, why isn't X forwarded anymore and what's the "approved" way to do it now?
It works fine for me. I use it all the time, with both 11.0 and 11.4 as well as many other versions and distros. In fact, I just did it on my work server from home to run xclock and xcalc. I also often use it to run yast2, wireshark and even browsers remotely. It just works.
I have the same problem with 11.4 but worked[s] fine in 11.2 ???
So, there's some new useful information: it works for some people and it does not for some other. Just have to figure out what differs between the two cases. As far as sshd_config and ssh_config, they're the default, AFAIK. I have run "grep -i forward" on those files. In sshd_config, there is: X11Forwarding yes In ssh_config, there is: ForwardX11Trusted yes BTW, forgot to mention that I can use ssh -X on 11.4 to connect to SLES servers and run graphic apps. So this would lead me to believe there's a problem with the ssh server config on my station. However there's no difference between my own sshd_config and the one on a freshly installed laptop with 11.4. Same goes for ssh_config. Solution: Ok, found the cause: IPv6 was disabled on my 11.4. For some reason that upsets the ssh daemon, and it gave this error in /var/log/messages: error: Failed to allocate internet-domain X11 display socket. or, in DEBUG3 LogLevel: debug3: sock_set_v6only: set socket 8 IPV6_V6ONLY debug2: bind port 6010: Cannot assign requested address debug3: sock_set_v6only: set socket 8 IPV6_V6ONLY debug2: bind port 6011: Cannot assign requested address I have enabled IPv6 (although I don't use it) and ssh -X works now. This is a bug, I'll file a report. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org