From owner-freebsd-questions@FreeBSD.ORG Sat Jul 7 18:19:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A305B16A41F for ; Sat, 7 Jul 2007 18:19:16 +0000 (UTC) (envelope-from fbsd-ml@scrapper.ca) Received: from pd2mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7C84713C46A for ; Sat, 7 Jul 2007 18:19:16 +0000 (UTC) (envelope-from fbsd-ml@scrapper.ca) Received: from pd2mr3so.prod.shaw.ca (pd2mr3so-qfe3.prod.shaw.ca [10.0.141.108]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JKT00E7IMW03LC0@l-daemon> for freebsd-questions@freebsd.org; Sat, 07 Jul 2007 12:19:12 -0600 (MDT) Received: from pn2ml2so.prod.shaw.ca ([10.0.121.146]) by pd2mr3so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JKT0037XMVY1D90@pd2mr3so.prod.shaw.ca> for freebsd-questions@freebsd.org; Sat, 07 Jul 2007 12:19:10 -0600 (MDT) Received: from proven.lan ([24.85.241.34]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JKT000AUMVXRCP2@l-daemon> for freebsd-questions@freebsd.org; Sat, 07 Jul 2007 12:19:10 -0600 (MDT) Received: from proven.lan (localhost [127.0.0.1]) by proven.lan (8.14.1/8.14.1) with ESMTP id l67IJ99M061813; Sat, 07 Jul 2007 11:19:09 -0700 (PDT envelope-from fbsd-ml@scrapper.ca) Received: from localhost (localhost [[UNIX: localhost]]) by proven.lan (8.14.1/8.14.1/Submit) id l67IJ8Xc061812; Sat, 07 Jul 2007 11:19:08 -0700 (PDT envelope-from fbsd-ml@scrapper.ca) Date: Sat, 07 Jul 2007 11:19:07 -0700 From: Norbert Papke In-reply-to: <200707051000.l65A0Wiq015761@banyan.cs.ait.ac.th> To: freebsd-questions@freebsd.org Message-id: <200707071119.08024.fbsd-ml@scrapper.ca> Organization: Archaeological Filing MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <200707051000.l65A0Wiq015761@banyan.cs.ait.ac.th> X-Authentication-warning: proven.lan: npapke set sender to fbsd-ml@scrapper.ca using -f User-Agent: KMail/1.9.6 Cc: Olivier Nicole Subject: Re: Lost SSH X1 Forwarding with Xorg 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2007 18:19:16 -0000 On July 5, 2007, Olivier Nicole wrote: > A nice *feature* that I just noticed, I apologize if it has been > mentionned earlier. > > xorg 7.2 tends to install all the components in /usr/loca insteal of > the traditional /usr/X11R6. > > But sshd is still expecting xauth to be in /usr/X11R6/bin/xauth; so > sshd_config has to be modified to reflect the fact that xauth new path > is /usr/local/bin/xauth. > > So the default /etc/ssh/sshd_config should be adapted to reflect this > change... The default location in /usr/X11R6/bin/xauth should still work with the symlink in place. However, I had a similar problem to yours. Having tracked 7.2 for some time, I had "X11BASE=${LOCALBASE}" in /etc/make.conf. When building sshd, LOCALBASE is not defined and X11BASE ends up being the empty string. This then caused XAUTH_PATH to be set to /bin/xauth which, of course, does not exist. Removing the statement from /etc/make.conf fixed this -- it isn't required anymore. Cheers.