Hi,
On Sun, Aug 1, 2010 at 6:13 PM, HG
Hi again - solved this...
On Sun, Aug 1, 2010 at 1:15 PM, HG
wrote: Hi!
Just upgraded my home server to 11.3. Normal mode for it is headless, but I cannot seem to get X to work over ssh. I really don't know where to look. So, here is what I have. I enabled sshd at the install phase (opened the firewall, but currently firewall is disabled altogether). Only change I did for the /etc/ssh/sshd_config was to add "AllowGroups ssh_users" (which includes me). Otherwise I noted that it already has "X11Forwarding yes"
ssh -X 192.168.1.2 from OS X, I get this warning from both the new 11.3 as well as the
I login to the system from OS X or another older openSUSE with old openSUSE:
Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding.
However, that doesn't appear if I log in from the older openSUSE and it doesn't seem to matter much as form the old server, this works great:
xclock &
However, from the new 11.3, all I get is "Error: Can't open display: "
What is wrong with the sshd in 11.3? How to fix this?
Ok, so I really don't know what is wrong, but fix was this... first let's go back a little. I wrote that this is clean installation with minimum changes. Well, one of the change was that in Global Network settings, I removed the tick mark from "Enable IPv6" as the help said: "To disable IPv6, uncheck this option (...). If the IPv6 protocol is not used on your network, the response time can be faster."
Well, AFAIK, I'm not using IPv6 and I think that my router is not supporting it (although, it might). However, seems that while SSH was completely fine otherwise working without IPv6, the X forwarding didn't work. Why? I have no idea. But that was the fix: I enabled it, rebooted and X started to work over SSH just as it should
I have IPv6 disabled on 11.3 and on 11.1 on different machine and have no problem with X forwarding (ssh -Y ...). One thing I noticed quite some time ago (I guess, it was 11.1) that when you disable IPv6 through Global Network Settings in Yast, the file /etc/hosts still have some IPv6 definitions for local hosts and some others. This caused some problems until I removed these entries from /etc/hosts manually. -- Mark Goldstein -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org