Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Sep 2003 00:31:17 -0700 (PDT)
From:      "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To:        Pat Lashley <patl+freebsd@volant.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: PAM, X11, and su as a normal user? (fwd)
Message-ID:  <200309060731.h867VHlS063051@troutmask.apl.washington.edu>
In-Reply-To: <680642704.1062829899@mccaffrey.phoenix.volant.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Pat Lashley wrote:
> --On Friday, September 05, 2003 23:13:29 -0700 "Steven G. Kargl" 
> <kargl@troutmask.apl.washington.edu> 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@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@troutmask"
to login into the sgk account, I still can
not use a X11 client.

-- 
Steve
http://troutmask.apl.washington.edu/~kargl/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309060731.h867VHlS063051>