debug1: Remote: No xauth program; cannot forward with spoofing.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Unassigned |
Bug Description
STABLE RELEASE UPDATE:
Impact: X forwarding is not usable after a fresh install of openssh-server, unless x11-common is also installed.
Development branch: Bug has been addressed by using /usr/bin/xauth rather than /usr/bin/X11/xauth. We used the /usr/bin/X11 symlink to smooth X's move to /usr/bin, but at some point xauth stopped depending on x11-common so this no longer automatically works, and X's move is a long time in the past now so we might as well just use the new path.
Patch: http://
TEST CASE: Install openssh-server on a fresh server install. From another machine running an X session, connect to it using 'ssh -X'. If and only if this bug is fixed, the DISPLAY environment variable should be set.
Regression potential: We should check that X forwarding still works, and that OpenSSH in general still seems to function normally.
Original bug report:
Fresh installation of a LUCID server (AMD64) has following major issue:
X11Forwarding does not work anymore. Running the ssh-client (again from Lucid Desktop) like this "ssh -v servername" throws:
...
debug1: Remote: No xauth program; cannot forward with spoofing.
...
Running "strings /usr/sbin/sshd |grep xauth" on the remote server shows that sshd is looking for xauth in this path:
/usr/bin/X11/xauth
But this does NOT exist until the package "x11-common" is installed.
Hint: Package "xauth" which is automatically installed by openssh-server has its binary in "/usr/bin".
Suggestion: SSHD should be fixed to look for xauth in the right directory or openss-server package should be fixed to depend on x11-common package instead xauth
There are many other X11-Forwarding bug reports - maybe related to this issue.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: openssh-server 1:5.3p1-3ubuntu3
ProcVersionSign
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
Date: Tue May 18 15:28:14 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
PATH=(custom, user)
LANG=de_DE.utf8
SHELL=/bin/bash
SourcePackage: openssh
Related branches
description: | updated |
Changed in openssh (Ubuntu Lucid): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
In KARMIC xauth depends on x11-common, another solution to this.