Bug#533398: bad display name "unix:10.0" in "add" command
If I do "ssh -X 192.168.1.2" (this host is running Squeeze), then
/usr/bin/X11/xauth: (stdin):1: bad display name "unix:10.0" in "remove" command
/usr/bin/X11/xauth: (stdin):2: bad display name "unix:10.0" in "add" command
Of course there is no authenticated XWindow connection after that.
AFAICS xauth is run by the sshd using my UID before my .bashrc is
read, i.e. I have no chance to interact or to introduce a workaround.
The Squeeze host has no hostname set, which seems to be related to
this problem. If I set the hostname to "bumblebee" on the command line,
then the problem is gone, even though this name is not registered
anywhere in /etc or DNS. Setting the hostname to "unix" works too.