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

> Harry P <rea...@newsguy.com> writes:
>
>> I'm running a recently installed lenny with default xfce desktop.
>>
>> While working in the X session I often ssh to r...@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 r...@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.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to