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

From: Steven G. Kargl <>
Date: Sat, 6 Sep 2003 00:31:17 -0700 (PDT)
Pat Lashley wrote:
> --On Friday, September 05, 2003 23:13:29 -0700 "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,
> Try 'ssh -X kargl_at_localhost' instead of 'su kargl'.  You shouldn't
> notice the overhead of the ssh protocol; and its a lot easier than
> messing around with the X11 authentication cruft.

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 client
such as nedit.  AFAICT, it can't be done. 

If as user kargl, I do "ssh -X sgk_at_troutmask"
to login into the sgk account, I still can
not use a X11 client.

Received on Fri Sep 05 2003 - 22:31:19 UTC

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