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

2003-09-06 Thread Matthew D. Fuller
On Sat, Sep 06, 2003 at 08:11:21AM -0700 I heard the voice of Steven G. Kargl, and lo! it spake thus: > > Thanks for the hint. I took the rather draconian action of > deleting user sgk's .Xauthority file. Then I used xauth to > merge in user kargl's entire .Xauthority. This appears to > work o

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

2003-09-06 Thread Steven G. Kargl
Matthew Seaman wrote: > > If all your X sessions are local to you machine (and possibly even if > they aren't), then try setting the DISPLAY variable to :0.0 -- you'll > need to repeat the fun'n'games with xauth to match the new $DISPLAY > setting. Thanks for the hint. I took the rather draconia

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

2003-09-06 Thread Matthew Seaman
On Fri, Sep 05, 2003 at 03:08:22PM -0700, Steven G. Kargl wrote: > Matthew Seaman wrote: > > On Fri, Sep 05, 2003 at 12:18:40PM -0700, Steven G. Kargl wrote: > > > After a few hours of frustation, it's time to ask a question. > > > > > > I have 2 accounts on my machine. I use startx to start > >

PAM, X11, and su as a normal user?

2003-09-05 Thread Robert Huff
Steven G. Kargl writes: > I've tried using "xhost sgk@", but this doesn't work. > The only thing I can think of that may need to be > configured is PAM, but the documentation is rather > incomplete. So, anyone know how to setup su to > permit sgk to use X clients? "xhost +inet:" wo

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

2003-09-05 Thread Steven G. Kargl
Matthew Seaman wrote: > On Fri, Sep 05, 2003 at 12:18:40PM -0700, Steven G. Kargl wrote: > > After a few hours of frustation, it's time to ask a question. > > > > I have 2 accounts on my machine. I use startx to start > > X11 as user kargl. If I then su to user sgk, I cannot > > fire up X client

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

2003-09-05 Thread Matthew Seaman
On Fri, Sep 05, 2003 at 12:18:40PM -0700, Steven G. Kargl wrote: > After a few hours of frustation, it's time to ask a question. > > I have 2 accounts on my 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, > > troutmask:ka

PAM, X11, and su as a normal user?

2003-09-05 Thread Steven G. Kargl
After a few hours of frustation, it's time to ask a question. I have 2 accounts on my 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, troutmask:kargl[202] su sgk Password: troutmask:sgk[201] gnuplot Terminal type set to 'x11'