Bug 22832

Summary: sshd needs to check before running xauth
Product: [Retired] Red Hat Linux Reporter: Bill Nottingham <notting>
Component: opensshAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: dr, dthiede, pekkas, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-20 18:24:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
check that xauth is there before running it none

Description Bill Nottingham 2000-12-26 04:58:10 UTC
On a system with no X installed, logging in via ssh with X forwarding
enabled displays:

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

Patch attached, salt to taste.

Comment 1 Bill Nottingham 2000-12-26 04:59:28 UTC
Created attachment 6682 [details]
check that xauth is there before running it

Comment 2 Pekka Savola 2000-12-28 22:56:07 UTC
The situation should not be silently ignored.  A better warning message would be in order though.


Comment 3 David Thiede 2001-04-20 18:24:50 UTC
This problem seems to still be in 7.1 release. At times the circuit is dropped
after seeing the message. I have not been able to identify the exact sequence
needed to characterize the conditions in which a drop happens or just the
message but the connect succeeds. The system that I connect to has none of the
XFree86 rpms installed but I see that DISPLAY=host.domain:11.0. that doesn't
seem right. I can also unset DISPLAY on the client side and the message no
longer appears.

The client systems that I have tested with are 7.0 with 2.2.17-14 and 2.2.16-22.
the ssh packages are 2.5.2p2. Due to the erratic nature of the dropped
connections, I would  elevate the priority and mark the severity.

Dave Thiede

Comment 4 Pekka Savola 2001-05-11 20:52:54 UTC
openssh-2.9p1-2 in Rawhide disables xauth in a more graceful manner if the xauth binary cannot be found.