Re: PAM, X11, and su as a normal user? (fwd)

From: Steven G. Kargl <kargl_at_troutmask.apl.washington.edu>
Date: Sat, 6 Sep 2003 08:52:22 -0700 (PDT)
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/
Received on Sat Sep 06 2003 - 06:52:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC