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

Re: howto make root emacs open in X



Tom Rauchenwald <its.sec@gmx.net> writes:

> Harry P <reader@newsguy.com> writes:
>
>> I'm running a recently installed lenny with default xfce desktop.
>>
>> While working in the X session I often ssh to root@localhost for a
>> root shell and have one running as I work.  I'd like to be able to
>> open emacs from that root shell and have the emacs instance open in
>> the X session instead of a inside the root shell in console mode as it
>> currently does.
>
> ssh -X root@localhost

Ahh nice... yes.

>> I've had this setup in the past ... possibly not on a debian OS so I
>> know it can work with some minor setup.
>>
>> Can anyone tell me what I need to do to get this to happen?
>
> I don't emacs as root, i use tramp... simply open a file you want to
> open as root with /sudo:: or /su:: prefixed. You will be prompted for a
> password, and can then edit the file from your user's emacs.

Very nice... and I've known about this for sometime and completely
forgot I knew it... hehe.


Reply to: