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

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



>> "JE" == Jesse Evans <jpjevans@earthlink.net> writes:

JE> Now, is there a way to automate this? I tried adding the
JE> follwing lines to root's .bashrc:

JE> XAUTHORITY=./.Xauthority
JE> DISPLAY=:0.0
JE> export XAUTHORITY DISPLAY

JE> but this only works if I su from the original user's home
JE> directory. (Otherwise, './' does not point to the right place.)

My proposal is: install ssh from non-us. ssh is the secure shell. It
will connect to a box using encription and compression and will also
do the Right Thing(tm) wrt to X.

You just do ssh -l root localhost

Ciao,
	Martin


Reply to: