Weblog entry #455 for simonw

OpenSSH X11 forwarding - DISPLAY not set
Posted by simonw on Mon 30 Apr 2012 at 17:45
Tags: none.
On Squeeze box (and others?) the cause of this can be that you have disabled IPv6 with the wiki suggested method.

The "fix" is enable IPv6
The "workaround" is add "AddressFamily inet" to /etc/ssh/sshd_config

Found by setting LogLevel to DEBUG3 and searching for the error message "x11_create_display_inet failed."

 

Comments on this Entry

Posted by mcortese (85.158.xx.xx) on Wed 2 May 2012 at 09:28
[ Send Message | View Weblogs ]
I find strange what you consider a "fix" and what a "workaround". The fact that X11 forwarding is connected to one specific protocol cannot be the right thing. Having to enable it in a config file, instead, is not unreasonable.

[ Parent | Reply to this comment ]

Posted by simonw (78.33.xx.xx) on Wed 2 May 2012 at 12:06
[ Send Message | View Weblogs ]
I agree it is strictly a bug, it has been reported.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422327

[ Parent | Reply to this comment ]