I've been struggling with this problem on Solaris for a while.  Your bug
report clued me into what was going on.  Thanks for reporting it.  I
agree that the default should be changed under Ubuntu.

Bernie du Breuil  --  (603) 381-6337 Home, 646-4108 Work

Upper Valley Peace & Justice Group  ===  United Valley Interfaith
Project

Another World is Possible

--- On Wed, 4/22/09, Andrew Schulman <launchpad-and...@sneakemail.com>
wrote:

From: Andrew Schulman <launchpad-and...@sneakemail.com>
Subject: [Bug 358612] Re: X11 forwarding fails (Invalid MIT-MAGIC-COOKIE)
To: bmrcld...@yahoo.com
Date: Wednesday, April 22, 2009, 6:02 PM

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 direct subscriber
of the bug.

-- 
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