[Xquartz-dev] computer going to sleep error

Gideon Simpson simpson at math.toronto.edu
Tue Nov 11 08:21:31 PST 2008


Has anyone else found that when they put the computer to sleep and  
come back to it, Xquartz doesn't quite work and may need to be  
restarted?  For instance, I ssh'ed into a remote machine after being  
asleep, tried to open emacs, and got the following error:

Xlib: connection to "localhost:15.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
emacs: Cannot connect to X server localhost:15.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.

-gideon



More information about the Xquartz-dev mailing list