6 Nov 2011
A little ssh error I came across while trying to work remotely on an Ubuntu machine. ssh X Display Forwarding wasn’t working, and I was getting an error:
DISPLAY is not set
Digging through /var/log/auth.log, I also noticed this error:
Failed to allocate internet-domain X11 display socket
After much Googling, it seems that IPv6 was causing the problem. It was solved by adding:
AddressFamily inet
to /etc/ssh/sshd_config, and restarting the ssh server.
comments powered by Disqus