[Bug 434799] Re: X11 forwarding via SSH does not work after upgrade to karmic
Rush Tonop Online
rush.zlo at gmail.com
Thu Sep 23 13:53:47 BST 2010
My case:
# Go to workstation
rush at laptop:~$ ssh -X workstation
# Check for $DISPLAY
rush at workstation:~$ env | grep DISPLAY || echo "No display found"
No display found
# Check log
workstation:~$ sudo -s
workstation:~# grep X11 /var/log/auth.log
Sep 23 16:33:10 workstation sshd[14105]: error: Failed to allocate internet-domain X11 display socket.
# Yes, it is!
# Check ipv6 suppport
root at workstation:~# sysctl net.ipv6.conf.all.disable_ipv6
net.ipv6.conf.all.disable_ipv6 = 1
# It's the answer.
# Now we must disable ipv6 support in sshd too:
root at workstation:~# sed -i 's|^exec /usr/sbin/sshd$|exec /usr/sbin/sshd -4|g' /etc/init/ssh.conf
root at workstation:~# service ssh restart
root at workstation:~# exit
rush at workstation:~$ exit
# Check changes
rush at laptop:~$ ssh -X workstation
# Check for $DISPLAY
rush at workstation:~$ env | grep DISPLAY || echo "No display found"
DISPLAY=localhost:10.0
Done.
--
X11 forwarding via SSH does not work after upgrade to karmic
https://bugs.launchpad.net/bugs/434799
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.
More information about the Ubuntu-server-bugs
mailing list