From owner-freebsd-current@FreeBSD.ORG Sat Sep 6 01:16:35 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE19216A4BF for ; Sat, 6 Sep 2003 01:16:35 -0700 (PDT) Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id E28E043F3F for ; Sat, 6 Sep 2003 01:16:34 -0700 (PDT) (envelope-from allbery@ece.cmu.edu) Received: by bache.ece.cmu.edu (Postfix, from userid 953) id 192B4A7; Sat, 6 Sep 2003 03:43:41 -0400 (EDT) Received: from [128.2.138.43] (VPN43.ECE.CMU.EDU [128.2.138.43]) by bache.ece.cmu.edu (Postfix) with ESMTP id 2143183; Sat, 6 Sep 2003 03:43:35 -0400 (EDT) From: "Brandon S. Allbery KF8NH" To: "Steven G. Kargl" In-Reply-To: <200309060741.h867fv0a063136@troutmask.apl.washington.edu> References: <200309060741.h867fv0a063136@troutmask.apl.washington.edu> Content-Type: text/plain Message-Id: <1062834192.29432.1.camel@pyanfar.ece.cmu.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sat, 06 Sep 2003 03:43:12 -0400 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-38.8 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-current@freebsd.org Subject: Re: PAM, X11, and su as a normal user? (fwd) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2003 08:16:35 -0000 On Sat, 2003-09-06 at 03:41, Steven G. Kargl wrote: > Brandon S. Allbery KF8NH wrote: > > On Sat, 2003-09-06 at 02:13, Steven G. Kargl wrote: > > > I have 2 accounts on my freebsd-current machine. I use > > > startx to start X11 as user kargl. If I then su to user > > > sgk, I cannot fire up X clients. For example, > > > > Is $XAUTHORITY still set in the subshell? > > Can both users read the Xauthority file? > > $XAUTHORITY is not set. Both users use > their defaults $HOME/.Xauthority. I used > xauth to ensure the key for troutmask is > the same for both users. Then it "ought" to work. However, you also mentioned that ssh didn't work... which makes me wonder if it's actually using Xauth at all. What does "xhost +localhost" do (aside from annoy any Tk apps you might have running)? -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon univ. KF8NH URGENT! E-xpedient nuked APK subdomains; kf8nh.apk.net is DEAD. Sorry.