From owner-freebsd-current@FreeBSD.ORG Sat Sep 6 00:31:19 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C60AC16A4BF for ; Sat, 6 Sep 2003 00:31:19 -0700 (PDT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 120C043FEC for ; Sat, 6 Sep 2003 00:31:18 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) h867VHuo063052; Sat, 6 Sep 2003 00:31:17 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost)h867VHlS063051; Sat, 6 Sep 2003 00:31:17 -0700 (PDT) From: "Steven G. Kargl" Message-Id: <200309060731.h867VHlS063051@troutmask.apl.washington.edu> In-Reply-To: <680642704.1062829899@mccaffrey.phoenix.volant.org> To: Pat Lashley Date: Sat, 6 Sep 2003 00:31:17 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: PAM, X11, and su as a normal user? (fwd) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2003 07:31:19 -0000 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@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/