Red Hat Bugzilla – Bug 60982
openssh-3.1p1-2 and X11 forwarding over IPv6
Last modified: 2007-04-18 12:40:50 EDT
Description of Problem:
Openssh-3.1p1-2 does not do X11 forwarding on servers that supports both IPv4
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Upgrade to openssh-3.1p1-2
2. Login by ssh
3. Try to open an xterm window
Get this error message:
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s
An xterm windows should appear.
Using lsof and strace it is clear that openssh X11 forwarding happens locally
over 127.0.0.1 while openssh only listens on ::1 if IPv6 is available.
A simple way to get X11 forwarding to work is to start sshd with the -4 option.
Previous versions of openssh did not have this problem.
Does it still happen with current Fedora Core?
*** Bug 65543 has been marked as a duplicate of this bug. ***
No response, please reopen if still happens with a current FC/RHEL release.