xauth error with ssh X Forwarding
- by bdk
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.