Skip to content

v0.90.61

Choose a tag to compare

@github-actions github-actions released this 07 Mar 20:33
· 104 commits to trunk since this release

fix: auto-cleanup orphaned Xorg on daemon crash

Two layers of defense against stale headless displays:

  1. 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.

  2. 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