X11 display issues

Markus Friedl Markus.Friedl at informatik.uni-erlangen.de
Thu Feb 22 02:13:28 EST 2001


On Wed, Feb 21, 2001 at 04:03:18PM +0100, Andy Polyakov wrote:
> This also has been discussed in SSHSCI's SSH context. All SSH versions
> (both SSHSCI and OpenSSH) derive value for DISPLAY variable from
> `uname -n`. The problem is that the returned value is not necessarily
> resolvable to a valid IP number which in turn might cause a failure.

oh yes, this is a problem. i will probably change the sshd-X11-proxy
from internet to unix domain sockets.

libX is broken if i set DISPLAY=localhost:x.y and ignore any
X cookies.

> To make it fool-proof I suggest to set DISPLAY to the interface's
> address the user has reached the system in question through.

I tried this before, but it does not work since it uses AF_INET6 if
i connect by
	$ ssh -X ::1

so it's not really acceptible. I'm still looking for a better
solution...

-markus





More information about the openssh-unix-dev mailing list