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

2003-09-06 Thread Steven G. Kargl
I sent this inquire to freebsd-question, but came up empty with respect to solutions to the problem. 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, troutmask:kargl[202] su sgk

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

2003-09-06 Thread Brandon S. Allbery KF8NH
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?

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

2003-09-06 Thread Pat Lashley
--On Friday, September 05, 2003 23:13:29 -0700 Steven G. Kargl [EMAIL PROTECTED] 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, Try 'ssh -X [EMAIL PROTECTED]' instead of 'su

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

2003-09-06 Thread Steven G. Kargl
Pat Lashley wrote: --On Friday, September 05, 2003 23:13:29 -0700 Steven G. Kargl [EMAIL PROTECTED] 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, Try 'ssh -X

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

2003-09-06 Thread Steven G. Kargl
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?

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

2003-09-06 Thread Brandon S. Allbery KF8NH
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

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

2003-09-06 Thread Pat Lashley
--On Saturday, September 06, 2003 00:31:17 -0700 Steven G. Kargl [EMAIL PROTECTED] wrote: I don't quite understand your suggestion. I login as user kargl. I fire up X11 as user kargl with startx. I use su in a xterm to connect to my alter ego (su sgk). Now, as user sgk I want to use a X11

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

2003-09-06 Thread Steven G. Kargl
Pat Lashley wrote: --On Saturday, September 06, 2003 00:31:17 -0700 Steven G. Kargl [EMAIL PROTECTED] wrote: I don't quite understand your suggestion. I login as user kargl. I fire up X11 as user kargl with startx. I use su in a xterm to connect to my alter ego (su sgk). Now, as

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

2003-09-06 Thread Steven G. Kargl
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