Bug 65543 - X11 forwarding broken on IPv4 + IPv6 machines
Summary: X11 forwarding broken on IPv4 + IPv6 machines
Keywords:
Status: CLOSED DUPLICATE of bug 60982
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: openssh
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-27 10:28 UTC by Per Steinar Iversen
Modified: 2007-04-18 16:42 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-02-03 13:03:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Per Steinar Iversen 2002-05-27 10:28:28 UTC
Description of Problem:

X11 forwarding does not work on IPv4 + IPv6 machines. This because the X11
forwarder listen to ::1 while ssh tries to connect to 127.0.0.1 in order to
reach the forwarder.

There is a workaround, add this to /etc/ssh/sshd_config :

X11UseLocalhost no

After restarting X11 forwarding works as expected


Version-Release number of selected component (if applicable): openssh-3.1p1-3


How Reproducible: Always


Steps to Reproduce:

1. Login with ssh on a IPv4 + IPv6 machine, it does not matter if this is done
over IPv4 or IPv6.
2. Try to start any X11 application, for example xterm
3. The application fails to start

Actual Results:

X11 forwarding does not work.


Expected Results:

That X11 forwarding works.

Additional Information:

A workaround is available, but it would be better to fix the IPv4 loopback vs.
IPv6 loopback confusion.

Comment 1 Tomas Mraz 2005-02-03 13:03:31 UTC

*** This bug has been marked as a duplicate of 60982 ***


Note You need to log in before you can comment on or make changes to this bug.