[2507] in Athena Bugs
Toehold fails if /tmp/.X11-unix/X0 disappears
daemon@ATHENA.MIT.EDU (epeisach@ATHENA.MIT.EDU)
Mon Jul 3 15:14:00 1989
From: <epeisach@ATHENA.MIT.EDU>
Date: Mon, 3 Jul 89 15:13:44 -0400
To: bugs@ATHENA.MIT.EDU
If the magic file /tmp/.X11-unix/X0 disappears (i.e. removed in someones
.logout by accident), toehold will loop in trying to call
XOpenDisplay("unix:0") which will fail without the socket. The result
is that the server is never killed off, and someone has to remotely
login to kill the server or reboot. This is a security mis-feature, as
it can leave programs running that use the server without a users
expectation (like emacs).
One fix (ugly at best) would be to open hostname:0 in toehold which
would not use the socket-file.
Ezra
P.S. Richard: This is the problem with your setup which leaves things
running on logout...