Re: howto make root emacs open in X
On Sat, Jan 10, 2009 at 03:19:03PM +0100, Tom Rauchenwald wrote:
> 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.
I try this but it does not work!
I typed
/sudo::/var/log/syslog
to find-file prompt and this is what I got:
FTP Error: OPEN request failed: ftp: sudo: Host name lookup failure
I use emacs that comes with etch
GNU Emacs 21.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2007-01-04 on saens, modified by Debian
Copyright (C) 2001 Free Software Foundation, Inc.
I also have setup that enable user to use sudo without password and run
all programs.
My question is what exactly do I type in find-file prompt or do
I need to use newer emacs?
Martin
Reply to: