[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



tags 535630 unreproducible
thanks

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
> 
> xauth itself depends on x11-common and according to #362832 it provided a
> link for /usr/X11R6/bin in the past. But this is no longer true so please
> try to search for xauth in /usr/bin and fall back to /usr/X11R6/bin/xauth ...

I've straced both ssh and sshd, and both of them are correctly using
/usr/bin/X11/xauth, not /usr/X11R6/bin/xauth. (x11-common still provides
a /usr/bin/X11 symlink, and that means that OpenSSH can work in both the
old and new world orders.)

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?

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: