[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#535630: ssh: searchs xauth in /usr/X11R6/bin/ which doesn't exist



On Tue, Jul 28, 2009 at 12:53:32PM +0100, Colin Watson wrote:
> On Fri, Jul 03, 2009 at 10:27:10PM +0200, Jens Seidel wrote:
> > Package: openssh-client
> > Version: 1:5.1p1-6
> > 
> > Connecting to a server via ssh option -X results in the error message:
> > sh: /usr/X11R6/bin/xauth: No such file or directory
> 
> I've straced both ssh and sshd, and both of them are correctly using
> /usr/bin/X11/xauth, not /usr/X11R6/bin/xauth.

Hhm, I had trouble connecting to my OpenMoko, which is the same usecase as
Lucas one. 

First of all is the ssh server or the client responsible to find xauth? If
it's the server's part I probably mistakenly filed the bug against openssh
instead dropbear, in this case please close this bug. Nevertheless I
remember that I searched for xauth in the openssh source and found it in
/usr/X11R6/bin. I should probably consider the following note: 
 
> Luca notes that _PATH_XAUTH is defined to /usr/X11R6/bin/xauth in
> pathnames.h, but I think he's missing the fact that that's just the
> upstream default and that it's already overridden in defines.h (via
> debian/rules passing --with-xauth to configure).
 
> Jens, can you tell me anything more about your setup? Is it possible
> that you have this incorrectly configured somewhere, either in
> ssh/sshd's configuration or in some shell startup files?

I have no special configuration of ssh/sshd, especially not xauth related.

Jens




Reply to: