can't cleanly log out of ssh

jbk jbk at mail2.gis.net
Wed Nov 23 22:13:52 EST 2005


Josh ChaitinPollak wrote:
> Ok, so after having left an ssh -X session open for a few hours, I  now 
> get the following when trying to run xclock:
> 
> Xlib: connection to "localhost:10.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> Error: Can't open display: localhost:10.0
> 
> I've never really understood the magic cookies, do they time out  after 
> a while?
> 

Use "ssh -Y" instead and see if this clears up the problem.

Jim



More information about the Discuss mailing list