Bug 50106

Summary: xauth: no such file or directory
Product: [Retired] Red Hat Raw Hide Reporter: Bojan Smojver <bojan>
Component: opensshAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: mjt
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-11 12:44:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Bojan Smojver 2001-07-26 21:27:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.7 i686)

Description of problem:
When logging on to a remote machine which doesn't have X Windows installed,
the following error message appears:

sh: /usr/X11R6/bin/xauth: No such file or directory

while it should probably just silently skip this step since X is not

RPM: openssh-2.9p2-3

How reproducible:

Steps to Reproduce:
1.  Use OpenSSH to log on to a remote machine that doesn't have X

Actual Results:  sh: /usr/X11R6/bin/xauth: No such file or directory

Expected Results:  Should silently ignore xauth?

Additional info:

Comment 1 Michael Tokarev 2001-08-11 12:44:17 UTC
This is not ssh problem per se.  It is a pam problem
(pam_xauth module) -- it should not call xauth if there
is no such program installed.

But.  It is a bug in XFree packages: xauth must be in
XFree-libs, not in XFree.  Reason is that many programs
(e.g. emacs, xterm etc) doesn't need to have local x server,
but needs xlib and xauth (and some more control programs)
to operate.  xlib iteslf is available, but xauth is only
in xserver package.  So I think this bug should be redirected
to xfree package...  BTW, it may be a good idea to include
another subpackage for xfree, e.g. xfree-basic-tools, if
xauth&co doesn't belongs to xlibs.

Comment 2 Nalin Dahyabhai 2001-09-06 12:51:18 UTC
sshd doesn't use pam_xauth -- it's actually trying to run xauth as part of the
process of setting up a session for the user.  Anyhow, this bug should be fixed
again as of 2.9p2-7 and later.  Thanks!

Comment 3 Mike A. Harris 2002-05-30 02:49:14 UTC
I've just split out xauth into a separate subpackage of XFree86 for now
called XFree86-xauth, and it should appear in rawhide within the next week.