This must be something really easy, but i can't find the solution. Each time i try to edit a file with emacs the xterm dumps this: 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. Any ideas? Thanks. Chainy.