Repository navigation
v0.90.61
·
104 commits
to trunk
since this release
fix: auto-cleanup orphaned Xorg on daemon crash
Two layers of defense against stale headless displays:
-
PR_SET_PDEATHSIG in zerocast-xorg helper — when the daemon dies,
the kernel sends SIGTERM to the helper, which forwards it to Xorg.
Handles crash, SIGKILL, and normal exit without cleanup. -
Stale lock detection in findFreeDisplay() — if a display's lock
file references a dead PID, remove the lock/socket and reuse the
display number. Handles orphans from before this fix.
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com