[Bug 358612] Re: X11 forwarding fails (Invalid MIT-MAGIC-COOKIE)
Andrew Schulman
launchpad-andrex at sneakemail.com
Wed Apr 22 23:02:50 BST 2009
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
Server Team, which is subscribed to openssh in ubuntu.
More information about the Ubuntu-server-bugs
mailing list