From: Nicholas Clark Date: 14:53 on 17 May 2004 Subject: OS X X server $ xterm Xlib: connection to ":0.0" refused by server Xlib: No protocol specified xterm Xt error: Can't open display: :0.0 W.T.F? You have lost the authorisation to create new X sessions on the local server. Hateful thing. Bad Apple - clearly no (valid magic) cookie. Nicholas Clark
From: Geoff Richards Date: 15:59 on 17 May 2004 Subject: Re: OS X X server On Mon, May 17, 2004 at 02:53:00PM +0100, Nicholas Clark wrote: > $ xterm > Xlib: connection to ":0.0" refused by server > Xlib: No protocol specified > > xterm Xt error: Can't open display: :0.0 > > > W.T.F? You have lost the authorisation to create new X sessions on the local > server. Hateful thing. > > Bad Apple - clearly no (valid magic) cookie. xauth is your friend. No, that's a lie. xauth is a complete fucker. Couldn't X have just checked that you are in fact the same user as is running the server? Not over the network, obviously, but can't be too hard when you're on the same machine, and the client is fiddling with your shared memory.
From: Michael G Schwern Date: 17:35 on 03 Jun 2004 Subject: Re: OS X X server On Mon, May 17, 2004 at 02:53:00PM +0100, Nicholas Clark wrote: > $ xterm > Xlib: connection to ":0.0" refused by server > Xlib: No protocol specified > > xterm Xt error: Can't open display: :0.0 > > > W.T.F? You have lost the authorisation to create new X sessions on the local > server. Hateful thing. > > Bad Apple - clearly no (valid magic) cookie. This is why I was forced to shut off "Authenticate connections" and "Allow connections from network clients". I don't know if this is an Apple issue or a general X issue but when your IP changes your cookies become invalid. Guess magic cookies were designed in the days when computers had one static IP address and they certainly weren't carried from one network to another while still running.
Generated at 10:26 on 16 Apr 2008 by mariachi