Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2007 14:44:38 +0000
From:      Pollywog <lists-fbsd@shadypond.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: X11 forwarding problems in FreeBSD 6.2 - no xauth data? [SOLVED]
Message-ID:  <200707121444.39055.lists-fbsd@shadypond.com>
In-Reply-To: <3ee9ca710707120659g23141d57p81918c29ebc008c9@mail.gmail.com>
References:  <200707090103.49950.lists-fbsd@shadypond.com> <200707120147.11624.lists-fbsd@shadypond.com> <3ee9ca710707120659g23141d57p81918c29ebc008c9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 12 July 2007 13:59:54 Andy Greenwood wrote:

>
> I had this same problem recently on my server. the sshd_config man
> page says that the default location for xauth is /usr/X11R6/bin/xauth,
> but mine was installed as /usr/local/bin/xauth. adding
>
> XAuthLocation /usr/local/bin/xauth
>
> to my sshd_config and restarting sshd fixed it for me.


Interesting, because that was the first thing I did, but it did not solve the 
problem.  What did solve the problem was to add the same line to 
my /etc/ssh/ssh_config in the "Host *" section.

This only fixed one side of the connection, so I can connect from the FreeBSD 
host to the Linux hosts.  On the Linux hosts, I put 

XAuthLocation /usr/bin/xauth  in their /etc/ssh/ssh_config files but that did 
not fix the problem from the Linux hosts to FreeBSD.  I believe it is because 
of the way that OpenSSH was compiled on FreeBSD but I am not certain.

 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707121444.39055.lists-fbsd>