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

Re: Emacs from Xterm



Bill Spears <bspears@easystreet.com> writes:

> I've finally gotten Debian (and KDE) up and was about to burn a CD when  I 
> discovered that I didn't have cdrecord installed.  apt-get worked 
> beautifully. But then I found I didn't have ide-scsi installed.  So I tried 
> emacs /etc/lilo.conf from an xterm and got error: emacs couldn't connect to 
> Xserver and some suggestions about xhost, which didn't work. So I used vi and 
> it worked. But I like to use emacs (it does work from the menus), and I need 
> to use it as root sometimes (anybody knowing how to use a user started Emacs 
> process as root) please jump in). I figured this is an X security problem, 
> but still don't know what to do. 

`xhost +localhost' will let you run X apps when su'ed to root.  This is
however a terrible idea security-wise. A much, much better approach is
to do `emacs -nw' so Emacs runs in a terminal window without X.

-- 
Booting... /vmemacs.el


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



Reply to: