Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109136 - wrong default path for xauth
Summary: wrong default path for xauth
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-13 06:48 UTC by Sascha Lucas
Modified: 2005-10-18 20:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Lucas 2005-10-13 06:48:55 UTC
To tunnel X11 over ssh you have to install xorg-x11 (or x11-apps/xauth). 
If openssh is merged on a system without xorg-x11/xauth the default path is 
/usr/X11R6/bin/xauth. Later you merge xorg-x11/xauth. But this installs the 
program in /usr/bin/xauth. 

You have to remerge openssh or set in /etc/ssh/sshd_config:

XAuthLocation /usr/bin/xauth

Steps to reproduce:

1. you need a system with xauth installed

2. mv /usr/bin/xauth /usr/bin/xauth.off (simulates absence of xorg-x11/xauth)

3. emerge openssh

4. strings /usr/sbin/sshd | grep xauth
   sould show: /usr/X11R6/bin/xauth

5. mv /usr/bin/xauth.off /usr/bin/xauth (simulates new merge off xorg-x11/xauth 
after openssh)

6. /etc/init.d/sshd restart

7. ssh localhost -2aYv
   should show: debug1: Remote: No xauth program; ...
Comment 1 SpanKY gentoo-dev 2005-10-18 20:32:31 UTC
fixed in cvs