From owner-freebsd-current@FreeBSD.ORG Sat Sep 6 08:52:24 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 593FC16A4BF for ; Sat, 6 Sep 2003 08:52:24 -0700 (PDT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id B23AA43FE3 for ; Sat, 6 Sep 2003 08:52:23 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) h86FqMuo065566; Sat, 6 Sep 2003 08:52:22 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost)h86FqMXk065565; Sat, 6 Sep 2003 08:52:22 -0700 (PDT) From: "Steven G. Kargl" Message-Id: <200309061552.h86FqMXk065565@troutmask.apl.washington.edu> In-Reply-To: <1062834192.29432.1.camel@pyanfar.ece.cmu.edu> To: "Brandon S. Allbery KF8NH" Date: Sat, 6 Sep 2003 08:52:22 -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 15:52:24 -0000 Brandon S. Allbery KF8NH wrote: > 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 I take this back. $XAUTHORITY was pointing at the wrong .Xauthority file. > > their defaults $HOME/.Xauthority. I used > > xauth to ensure the key for troutmask is > > the same for both users. > > Then it "ought" to work. > It works now that I that I fixed .cshrc to properly set $XAUTHORITY. Thanks for your help. -- Steve http://troutmask.apl.washington.edu/~kargl/