xauth error with ssh X Forwarding

Posted by bdk on Super User See other posts from Super User or by bdk
Published on 2010-04-01T17:39:50Z Indexed on 2010/04/01 17:43 UTC
Read the original article Hit count: 362

Filed under:
|
|

From my (Debain) Desktop machine, I am trying to ssh into a Debian Server with

 ssh -X remote-ip

After logging into the remote host, I get:

 /usr/bin/X11/xauth:  creating new authority file /root/.Xauthority
 /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

And the X Forwarding doesn't work. From my Desktop I can ssh -X into other Debian servers and it works fine. I found a lot of threads discussing similar issues on google, but they all seem to fade out without a solution, and the simple things suggested there like exporting DISPLAY or setting xhost + don't seem to make a difference.

© Super User or respective owner

Related posts about ssh

Related posts about xauth