Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Sep 2003 08:52:22 -0700 (PDT)
From:      "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To:        "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: PAM, X11, and su as a normal user? (fwd)
Message-ID:  <200309061552.h86FqMXk065565@troutmask.apl.washington.edu>
In-Reply-To: <1062834192.29432.1.camel@pyanfar.ece.cmu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> > > > sgk, I cannot fire up X clients.  For example,
> > > 
> > > Is $XAUTHORITY still set in the subshell?
> > > Can both users read the Xauthority file?
> >  
> > $XAUTHORITY is not set.  Both users use

I take this back.  $XAUTHORITY was pointing at
the wrong .Xauthority file. 

> > their defaults $HOME/.Xauthority.  I used
> > xauth to ensure the key for troutmask is
> > the same for both users.
> 
> Then it "ought" to work.
> 

It works now that I that I fixed .cshrc to
properly set $XAUTHORITY.

Thanks for your help.

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



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