Bug 717193

Summary: sshd does not forward X if IPv6 is disabled in YaST
Product: [openSUSE] openSUSE 11.4 Reporter: Silviu Marin-Caea <silviu_marin-caea>
Component: NetworkAssignee: Martin Vidner <mvidner>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: paka
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Silviu Marin-Caea 2011-09-12 08:32:36 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2

If you connect with ssh -X to a machine that has IPv6 disabled in YaST, it will not forward X.

This appears in /var/log/messages:

error: Failed to allocate internet-domain X11 display socket.

or, in DEBUG3 LogLevel:
debug3: sock_set_v6only: set socket 8 IPV6_V6ONLY
debug2: bind port 6010: Cannot assign requested address
debug3: sock_set_v6only: set socket 8 IPV6_V6ONLY
debug2: bind port 6011: Cannot assign requested address 

Reproducible: Always

Steps to Reproduce:
1. Disable IPv6 with YaST/Network Settings
2. ssh -X localhost
3. run xclock
4. error: Cannot open DISPLAY
Actual Results:  
Cannot run graphical applications when connecting with ssh -X to remote machines that have IPv6 disabled

Expected Results:  
X11 being forwarded
Comment 1 patrick shanahan 2011-09-12 12:45:00 UTC
I have experienced the same problem, unable to forward X on openSUSE 11.4.  Enabling IPv6 with YaST/Network Setting allows forwarding X.

tks,
Comment 2 Martin Vidner 2011-09-20 17:21:06 UTC
exact duplicate

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