Skip to content

Start the autostarted herdr server in its own session - #18302

Merged
dhh merged 1 commit into
omacom:quattrofrom
jasasonc:fix-herdr-autostart-setsid
Nov 10, 2026
Merged

dhh merged 1 commit into
omacom:quattrofrom
jasasonc:fix-herdr-autostart-setsid

Conversation

@jasasonc

@jasasonc jasasonc commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Since #16572, Hyprland's autostart runs uwsm-app -- herdr server, so the server stays in Hyprland's process session. herdr reports detached_server_daemon only for a server that leads its own session, so herdr --remote asks to restart it on every attach, and answering yes kills every pane.

The autostart now starts it through setsid, as herdr does when it starts the server itself. In an Omarchy VM, herdr status server --json reports detached_server_daemon: false before this change and true with it, and the server still has WAYLAND_DISPLAY from the graphical session.

No visible change: only the herdr server's process session changes.

Closes #18301

@greptile-apps

greptile-apps Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

Starts the autostarted herdr server through setsid, while keeping the existing uwsm-app launch path.

  • Remote herdr attaches stop asking to restart the autostarted server.

Reviews (1) · Last reviewed commit: "Start the autostarted herdr server in it..." · Reviewed by Greptile

@dhh
dhh merged commit 54abf72 into omacom:quattro Nov 10, 2026
3 checks passed
ButtercupRobrts pushed a commit to ButtercupRobrts/omarchy that referenced this pull request Nov 28, 2026
Start the autostarted herdr server in its own session

(cherry picked from commit 54abf72)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

herdr --remote asks to restart the autostarted herdr server on every attach (autostart lacks setsid)

2 participants