PDA

View Full Version : Help! cannot open emacs!



linuxprince
08-31-2004, 03:42 PM
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.

:shock:

i can open the file as the regular user but to edit it i have to open it as a root.

baldyeti
08-31-2004, 03:58 PM
Type "xhost +" as regular user and then root (well all users, actually...) should be allowed to access the X display.

linuxprince
08-31-2004, 07:45 PM
Thanks a bunch..i will give it a try when i get back to home!

update : worked like a charm! :D