PAM, X11, and su as a normal user?
    Matthew D. Fuller 
    fullermd at over-yonder.net
       
    Sat Sep  6 18:06:08 PDT 2003
    
    
  
On Sat, Sep 06, 2003 at 08:11:21AM -0700 I heard the voice of
Steven G. Kargl, and lo! it spake thus:
> 
> Thanks for the hint.  I took the rather draconian action of
> deleting user sgk's .Xauthority file.  Then I used xauth to
> merge in user kargl's entire .Xauthority.  This appears to 
> work only if I use "su -l sgk".  I guess I'm inheriting
> something in the environment that X doesn't lik when I 
> use "su sgk".
FWIW, I just plain 'su' to root (toor, rather, but that's not relevant)
and use a one-off script to merge keys for running X apps:
root% cat /root/xauthset 
#!/bin/sh
xauth -f /home/fullermd/.Xauthority extract - $DISPLAY | xauth merge -
Never had any problems out of it.
-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
"The only reason I'm burning my candle at both ends, is because I
      haven't figured out how to light the middle yet"
    
    
More information about the freebsd-questions
mailing list