http://bugzilla.novell.com/show_bug.cgi?id=618068 http://bugzilla.novell.com/show_bug.cgi?id=618068#c0 Summary: ssh DISPLAY not set unless /etc/sshd/sshd_config `X11UseLocalhost no' set Classification: openSUSE Product: openSUSE 11.3 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pablo@blueoakdb.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.4) Gecko/20100611 SUSE/3.6.4-6.1 Firefox/3.6.4 Howdy, ssh'ing from `openSUSE 11.1' to `openSUSE 11.3 RC1' results in the DISPLAY shell variable not being set with a stock `/etc/sshd/sshd_config' file. The work-around is to set in `/etc/sshd/sshd_config', `X11UseLocalhost no' The solution was found by googling around. Note: I'm not sure whether I should set the severity to `Normal' or `Major' As I mentioned above, I was able to come up with a work-around but I'm not sure whether enough people will google for a solution. You'd think a savvy enough SysAdmin would ... In order to help others in searching for this bug, I'll also include `/var/log/messages' entries found during `ssh'ing without the above setting: sshd[5538]: error: Failed to allocate internet-domain X11 display socket. Below are the `sshd' configuration values for the two machines: `openSUSE 11.3 RC1' =================== ROOT-root@zoom-37-[/root]: grep -v '^#' /etc/ssh/sshd_config | grep -v '^[ ]*$' PasswordAuthentication no UsePAM yes X11Forwarding yes X11UseLocalhost no Subsystem sftp /usr/lib/ssh/sftp-server AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT AcceptEnv LC_IDENTIFICATION LC_ALL `openSUSE 11.1' =============== ROOT-root@oreo-1011-[/root]: grep -v '^#' /etc/ssh/sshd_config | grep -v '^[ ]*$' Protocol 2 PasswordAuthentication no UsePAM yes X11Forwarding yes Subsystem sftp /usr/lib/ssh/sftp-server AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT AcceptEnv LC_IDENTIFICATION LC_ALL Reproducible: Always Steps to Reproduce: 1. Using stock '/etc/ssh/sshd_config', `ssh -Y' from `openSUSE 11.1' to `openSUSE 11.3 RC1' Note, it's possible to use `ssh -X' with the same result. 2. Type `xclock' to test whether DISPLAY is set correctly. Actual Results: As DISPLAY is not set in the shell, you cannot remotely view the X application. Expected Results: The X application should display correctly on the remote node. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.