Background daemon auto-spawn fails over SSH: "Could not switch to audit session ... Operation not permitted"
Status Closed — not planned
Maintainer reply None cached
Workaround ✓ Mentioned in description ↑
Activity 1 comment · opened Jul 1, 2026 · closed Jul 1, 2026
Description
Duplicate report — closing. (Original content removed.)
Summary for reference: on macOS, running Claude Code over an SSH-only session (no local console/GUI login session), the background daemon's on-demand ("transient") auto-spawn can fail with an audit-session error, breaking --bg dispatch. Manually running claude daemon run in the background as a persistent process works as a workaround.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗