PAM, X11, and su as a normal user? (fwd)
Steven G. Kargl
kargl at troutmask.apl.washington.edu
Sat Sep 6 08:52:24 PDT 2003
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/
More information about the freebsd-current
mailing list