Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Sep 2003 03:43:12 -0400
From:      "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
To:        "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: PAM, X11, and su as a normal user? (fwd)
Message-ID:  <1062834192.29432.1.camel@pyanfar.ece.cmu.edu>
In-Reply-To: <200309060741.h867fv0a063136@troutmask.apl.washington.edu>
References:  <200309060741.h867fv0a063136@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1062834192.29432.1.camel>