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

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



Hi, Jesse!

Unless you really want to use xauth, you may want to use slogin instead, which 
is more secure and will do the job.

Example:

slogin root@mycomputer
mycomputer# xemacs

Will work just fine.
Sasha.
> Hi, folks
> 
> 	Thanks for the info... so far, the method (for root) described
> below from TA seems to be the simplest.
> 
> 	Now, is there a way to automate this? I tried adding the
> follwing lines to root's .bashrc:
> 
> XAUTHORITY=./.Xauthority
> DISPLAY=:0.0
> export XAUTHORITY DISPLAY


Reply to: