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

[debian-knoppix] Re: Xserver and text editor



contact.me@hittozu.net schrieb:
Hi,
I'm using ver. 3.2 and I have the following problem:
when I launch (not as root) a command like "emacs lilo.conf" everything works, but when I do it as root, the output is this:

root@Rigel:/etc# emacs lilo.conf
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

emacs: Cannot connect to X server :0.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.

So, how can I solve this problem?
Thanks adv.,

KNOPPIX starts the X-Server with -nolisten (correct me if that's not correct).

Because you want to edit lilo.conf, I suppose you have installed KNOPPIX on your hard disk. So you should be able to remove the option -nolisten from your config file (depends on the login manager if you're using one).

A second solution is starting Emacs in the window which it is invoked by. This is done by

emacs -nw

Sören


_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: