[Bug 582251] Re: debug1: Remote: No xauth program; cannot forward with spoofing.

Colin Watson cjwatson at canonical.com
Tue May 18 18:10:24 BST 2010


** Description changed:

+ 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://bazaar.launchpad.net/~cjwatson/ubuntu/lucid/openssh/lucid-
+ proposed/revision/3201
+ 
+ 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
  ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
  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
+  PATH=(custom, user)
+  LANG=de_DE.utf8
+  SHELL=/bin/bash
  SourcePackage: openssh

** Changed in: openssh (Ubuntu Lucid)
       Status: New => Triaged

** Changed in: openssh (Ubuntu Lucid)
   Importance: Undecided => High

-- 
debug1: Remote: No xauth program; cannot forward with spoofing.
https://bugs.launchpad.net/bugs/582251
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.



More information about the Ubuntu-server-bugs mailing list