David Kanter wrote: > When I try to start xemacs, I occasionally get this error message: > > Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to Server > 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'll bet you're trying to launch while your'e su'd root. Check out xauth. (if security is not an issue, look at xhost) > > Again, it doesn't happen all the time. However, nox-emacs works fine. Doesn't need to use your xserver. > > > What is going on? > > -Dave