[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: different color for root
From: |
Kevin Rodgers |
Subject: |
Re: different color for root |
Date: |
Thu, 04 Mar 2004 18:04:05 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Fabian Braennstroem wrote:
> But using 'su -' helps being the real root-user, but emacs starts
> non-graphical.
That's because the new login shell does not inherit the DISPLAY
environment variable. You need to explicitly set it and export it
before starting emacs.
> And 'emacs -u root' does not give me root rights. Do you have a
> third idea?
If you just want to edit files (vs. execute shell commands via M-!
etc.), visit them via ange-ftp: C-x C-f /root@localhost:/etc/passwd RET
--
Kevin Rodgers