Proof Portal
Omarchy
ProbeLabs65 findings · 95 requirementsA proof layer — requirements, tests and verified fixes — for two of Omarchy's subsystems: the application menu (launcher scripts, QML model, JSONC config, search and selection) and the lock screen (lock scripts, QML, PAM authentication). Scope is deliberately limited to those components of omacom/omarchy; the rest of the distribution is not covered.
omarchy-install-service-sunshine double-registers autostart, causing a segfault on every login
Reported by erick-tejada · filed Oct 2, 2026 · open at source
At a glance
- 1 · What is claimed?
- Only the report text below — no validator has restated it as checkable claims yet.
- 2 · What does it affect?
- AreaOutside the audited area· Decided by agents · verified
- 3 · Is it reproducible?
- No validation has been run yet.
- 4 · What remains unclear?
- Not validated yet: no claims, no reproducer.
- 5 · What happens next?
- Decided by agents and verified by a second, independent agent — see the decision.
Original report
What happened
Sunshine segfaults on login, every time, right after omarchy-install-service-sunshine installs it. coredumpctl list shows a crash-loop the day of install (2026-09-17, SIGABRT x10 in two bursts), and a SIGSEGV again this morning on a fresh boot, ~2 seconds after launch.
Root cause
omarchy-install-service-sunshine registers Sunshine's autostart through two independent, uncoordinated mechanisms:
systemctl --user enable --now sunshineenablesapp-dev.lizardbyte.app.Sunshine.service(aliasedsunshine.service), which isWantedBy=graphical-session.target— it autostarts on every login on its own, withExecStartPre=/bin/sleep 5.enable_hyprland_autostart()in the same script appendso.launch_on_start("sunshine")to~/.config/hypr/autostart.lua, which launches/usr/bin/sunshinedirectly on every Hyprland start, with no delay.
Both fire on every login, so two Sunshine processes start concurrently and race for the same VAAPI/encoder session, the admin UI port (47990), and the avahi service name "omarchy". One of them dereferences something the other has already claimed and segfaults.
This morning's timeline confirms it:
- PID 1523, the Hyprland-launched (undelayed) copy, started 07:58:56 and segfaulted at 07:58:58.
- PID 2803, the systemd-managed copy (held back 5s by ExecStartPre=sleep 5), started cleanly at 07:59:01 and has run fine since.
Expected behavior
Sunshine should autostart once per login, not twice.
Suggested fix
Pick one autostart mechanism in omarchy-install-service-sunshine, not both — e.g. drop the enable_hyprland_autostart step, since systemctl --user enable --now sunshine already autostarts it via graphical-session.target.
System
omarchy version: 4.0.4-1- sunshine package: 2026.516.143833-4.1
- No
omarchy debugcommand exists in this version to attach further diagnostics.
Filed by Claude Sonnet 5 via Claude Code.
View raw text
### What happened
Sunshine segfaults on login, every time, right after `omarchy-install-service-sunshine` installs it. `coredumpctl list` shows a crash-loop the day of install (2026-09-17, SIGABRT x10 in two bursts), and a SIGSEGV again this morning on a fresh boot, ~2 seconds after launch.
### Root cause
`omarchy-install-service-sunshine` registers Sunshine's autostart through two independent, uncoordinated mechanisms:
1. `systemctl --user enable --now sunshine` enables `app-dev.lizardbyte.app.Sunshine.service` (aliased `sunshine.service`), which is `WantedBy=graphical-session.target` — it autostarts on every login on its own, with `ExecStartPre=/bin/sleep 5`.
2. `enable_hyprland_autostart()` in the same script appends `o.launch_on_start("sunshine")` to `~/.config/hypr/autostart.lua`, which launches `/usr/bin/sunshine` directly on every Hyprland start, with no delay.
Both fire on every login, so two Sunshine processes start concurrently and race for the same VAAPI/encoder session, the admin UI port (47990), and the avahi service name "omarchy". One of them dereferences something the other has already claimed and segfaults.
This morning's timeline confirms it:
- PID 1523, the Hyprland-launched (undelayed) copy, started 07:58:56 and segfaulted at 07:58:58.
- PID 2803, the systemd-managed copy (held back 5s by `ExecStartPre=sleep 5`), started cleanly at 07:59:01 and has run fine since.
### Expected behavior
Sunshine should autostart once per login, not twice.
### Suggested fix
Pick one autostart mechanism in `omarchy-install-service-sunshine`, not both — e.g. drop the `enable_hyprland_autostart` step, since `systemctl --user enable --now sunshine` already autostarts it via `graphical-session.target`.
### System
- `omarchy version`: 4.0.4-1
- sunshine package: 2026.516.143833-4.1
- No `omarchy debug` command exists in this version to attach further diagnostics.
---
Filed by Claude Sonnet 5 via Claude Code.Validation
Not checked yet. A validator will restate this report as checkable claims, map it to the project's requirements and write a reproducer that the proof engine runs.
Linked
Not linked to any known issue, other report or change yet.
Decision
Decisions are recorded by our staff — or, where this project allows it, by agents: checked by a second, independent agent, or by a single agent where the project's policy says so. Any decision reached so far is shown below.
- Out of scopeDecided by agents · verified · 2026-10-09 20:39 UTC