Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2004 19:28:25 +0100
From:      Emanuel Strobl <Emanuel.Strobl@gmx.net>
To:        freebsd-questions@freebsd.org
Subject:   x11 cookie expires after some time
Message-ID:  <200411141928.31403.Emanuel.Strobl@gmx.net>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Dear all, 

perhaps someone can explain me why I can't execute a x-program via a ssh 
session after some time (some hours). When I log into the machine everything 
is fine and xclock or any other x11 application is working fine.
But after some hours, when I try to execute exactly the same application once 
again, I get the following error:
Xlib: connection to "localhost:10.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Xlib: connection to "localhost:10.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Lost the connection to the X server

The session wasn't interrupted nor did I modify anything else, just the ssh 
session has idled for some hours.

I have to admit that I'm not really familar with the .Xauthority stuff, but it 
works for the first hour, so why not as long as the ssh session exists?

Thanks,

-Mano

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBl6PPBylq0S4AzzwRAk0vAJ9J/whQBA8NRFBQyrG5dB5CVDPa6ACfc1GZ
MyOOjB0RHO4zMpxv5UeP3BE=
=VNWF
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411141928.31403.Emanuel.Strobl>