From nobody@FreeBSD.org  Fri Jun 15 17:17:41 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id B7E8716A469
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 15 Jun 2007 17:17:41 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id A9BB113C4BA
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 15 Jun 2007 17:17:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l5FHHdBr028136
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 15 Jun 2007 17:17:39 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l5FHHdmT028135;
	Fri, 15 Jun 2007 17:17:39 GMT
	(envelope-from nobody)
Message-Id: <200706151717.l5FHHdmT028135@www.freebsd.org>
Date: Fri, 15 Jun 2007 17:17:39 GMT
From: Yuri <yuri@tsoft.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sshd: X11 Forwarding stopped working with the recent update
X-Send-Pr-Version: www-3.0

>Number:         113714
>Category:       misc
>Synopsis:       sshd: X11 Forwarding stopped working with the recent update
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 15 17:20:01 GMT 2007
>Closed-Date:    Fri Jun 15 19:54:24 GMT 2007
>Last-Modified:  Fri Jun 15 19:54:24 GMT 2007
>Originator:     Yuri
>Release:        sshd: X11 Forwarding stopped working with the system update
>Organization:
na
>Environment:
FreeBSD xxx.xxx.xxx 6.2-STABLE FreeBSD 6.2-STABLE #1: Thu Jun 14 01:18:05 PDT 2007     yuri@xxx.xxx.xxx:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I recently upgraded from 6.2-STABLE from few months ago to the current one. Also removed old and reinstalled again all packages.

And X11 forwarding stopped working.

After troubleshooting I figured out that with debug client prints the message:
debug1: Remote: No xauth program; cannot forward with spoofing.

Turns out that sshd is looking for xauth in /usr/X11R6/bin and now all Xorg stuff goes into /usr/local/.


Yuri
>How-To-Repeat:
obvious
>Fix:
(cd /usr/X11R6/bin && ln -s /usr/local/bin/xauth)

But it should work by itself.


>Release-Note:
>Audit-Trail:

From: Oliver Fromme <olli@lurza.secnetix.de>
To: freebsd-bugs@FreeBSD.ORG, bug-followup@FreeBSD.ORG, yuri@tsoft.com
Cc:  
Subject: Re: misc/113714: sshd: X11 Forwarding stopped working with the recent ?update
Date: Fri, 15 Jun 2007 19:59:29 +0200 (CEST)

 Yuri wrote:
  > I recently upgraded from 6.2-STABLE from few months ago to the
  > current one. Also removed old and reinstalled again all packages.
  >
  > And X11 forwarding stopped working.
  >
  > After troubleshooting I figured out that with debug client prints
  > the message: debug1: Remote: No xauth program; cannot forward with
  > spoofing.
  >
  > Turns out that sshd is looking for xauth in /usr/X11R6/bin and now
  > all Xorg stuff goes into /usr/local/.
 
 You should follow the procedure in /usr/ports/UPDATING for
 updating your Xorg installation properly (see the entry at
 "20070519").
 
 Those instructions also include running the mergebase.sh
 script which creates a compatibility symlink for you
 (/usr/X11R6 -> /usr/local).
 
 Best regards
    Oliver
 
 -- 
 Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
 Handelsregister: Registergericht Muenchen, HRA 74606,  Geschftsfuehrung:
 secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mn-
 chen, HRB 125758,  Geschftsfhrer: Maik Bachmann, Olaf Erb, Ralf Gebhart
 
 FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd
 
 C++: "an octopus made by nailing extra legs onto a dog"
         -- Steve Taylor, 1998
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Jun 15 19:53:34 UTC 2007 
State-Changed-Why:  
Please follow the upgrade procedure in ports/UPDATING.  This was a one- 
time special procedures because the standard upgrade tools could not 
handle the task, as you have found. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113714 
>Unformatted:
