[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can't run editor when su... why?



 
> XAUTHORITY=./.Xauthority
> DISPLAY=:0.0
> export XAUTHORITY DISPLAY
> 
> 	but this only works if I su from the original user's home
> directory. (Otherwise, './' does not point to the right place.)

I have 

export XAUTHORITY=/home/hawk/.Xauthority

in my .xsession, which seems to do the trick.  That could probably be ~/
.Xauthority, I suppose . . .

On the other hand, I have 
export TERM=xterm

and still end up with xterm-debian when i telnet & ssh to digital unix.

rick


-- 



Reply to: