Bernie, thanks.  You are correct, XAuthLocation wasn't correctly set,
and this was the cause of the problem.

I didn't set XAuthLocation at all, so ssh used the default value, which
ssh_config(5) says is /usr/bin/X11/xauth.  But in Ubuntu xauth is
/usr/bin/xauth.  Setting XAuthLocation /usr/bin/xauth in my ssh config
solved the problem.

Since xauth is /usr/bin/xauth and not /usr/bin/X11/xauth in Ubuntu, it
seems that Ubuntu's openssh-client should change its default value of
XAuthLocation.  Debian solves this by making /usr/bin/X11 a symlink to .
, but that seems like an overbroad solution for just this problem.

Thanks,
Andrew.

-- 
X11 forwarding fails (Invalid MIT-MAGIC-COOKIE)
https://bugs.launchpad.net/bugs/358612
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to