From owner-freebsd-current@FreeBSD.ORG Sat Sep 6 00:42:00 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 1446F16A4BF for ; Sat, 6 Sep 2003 00:42:00 -0700 (PDT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C9CF43FFB for ; Sat, 6 Sep 2003 00:41:59 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) h867fvuo063137; Sat, 6 Sep 2003 00:41:57 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost)h867fv0a063136; Sat, 6 Sep 2003 00:41:57 -0700 (PDT) From: "Steven G. Kargl" Message-Id: <200309060741.h867fv0a063136@troutmask.apl.washington.edu> In-Reply-To: <1062829529.27889.37.camel@pyanfar.ece.cmu.edu> To: "Brandon S. Allbery KF8NH" Date: Sat, 6 Sep 2003 00:41:57 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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 07:42:00 -0000 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. -- Steve http://troutmask.apl.washington.edu/~kargl/