Red Hat Bugzilla – Bug 50098
forwarding X connections does not work
Last modified: 2008-05-01 11:38:00 EDT
Description of Problem:
1. first, create /usr/spool/sockets/X11. (sshd is built with wrong path...
already in bugzilla).
2. Restart sshd in debug mode so can see what it says.
3. From a client (in this case, a cygwin client), do ssh -l user -X f.q.d.n
4. On client, verify that DISPLAY is set.
5. On client, try to execute an X program, say, xterm.
Steps to Reproduce:
Created attachment 25108 [details]
ssh -ddde output
/usr/spool is not a required directory in Linux, as defined by
the File Heirarchy Standard 2.2 located at: http://www.pathname.com/fhs
Here is the FHS section on /usr/spool:
The following symbolic links to directories may be present. This
possibility is based on the need to preserve compatibility with older
systems until all implementations can be assumed to use the /var
/usr/spool -> /var/spool
/usr/tmp -> /var/tmp
/usr/spool/locks -> /var/lock
Once a system no longer requires any one of the above symbolic links,
the link may be removed, if desired.
Basically /usr/spool is not a valid directory, however a symlink may exist
for compatibility with legacy software, however no such link is required.
I use ssh+X11 forwarding every day, and it works ok, so I presume whatever
bug may have been in rawhide, was fixed long ago in the final release.