when I try to run emacs as root I get this error
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.
I tried xhost, but it said no program found, i don't know where it is.
any insight would be helpful.