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

From: Brandon S. Allbery KF8NH <allbery_at_ece.cmu.edu>
Date: Sat, 06 Sep 2003 03:43:12 -0400
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
> their defaults $HOME/.Xauthority.  I used
> xauth to ensure the key for troutmask is
> the same for both users.

Then it "ought" to work.

However, you also mentioned that ssh didn't work... which makes me
wonder if it's actually using Xauth at all.  What does "xhost
+localhost" do (aside from annoy any Tk apps you might have running)?

-- 
brandon s. allbery    [linux,solaris,freebsd,perl]     allbery_at_kf8nh.com
system administrator      [WAY too many hats]        allbery_at_ece.cmu.edu
electrical and computer engineering, carnegie mellon univ.         KF8NH
URGENT!  E-xpedient nuked APK subdomains; kf8nh.apk.net is DEAD.  Sorry.
Received on Fri Sep 05 2003 - 23:16:35 UTC

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