dms run doesn't notice a dead qs while its fingerprint PAM helper holds stderr: no relaunch and no lock prompt for ~30 s
Compositor
Hyprland
Distribution
NixOS
If Other, please specify
No response
Select your Installation Method
Source
Was this your original Installation method?
Yes
dms doctor -vC
dms doctor
System Health Check
──────────────────────────────────────
System
● Operating System ····· NixOS 26.05 (Yarara)
└─ Supported for runtime (install via NixOS module or Flake)
● Architecture ········· amd64
● Display Server ······· Wayland
└─ WAYLAND_DISPLAY=wayland-1
Versions
● DMS CLI ·············· dms 1.6.2+date=2026-09-17_2db7646
└─ /nix/store/i5xp96jz9rwiazwsg4aajma8xcb6wh1g-dms-shell-1.6.2+date=2026-09-17_2db7646/bin/.dms-wrapped
● Quickshell ··········· Quickshell 0.3.0 (revision tag-v0.3.0, distributed by Nixpkgs)
└─ ~/.nix-profile/bin/qs
● DMS Shell ············ 1.6.2+date=2026-09-17_2db7646
└─ /nix/store/i5xp96jz9rwiazwsg4aajma8xcb6wh1g-dms-shell-1.6.2+date=2026-09-17_2db7646/share/quickshell/dms
Installation
● DMS Configuration ···· Found
└─ /nix/store/i5xp96jz9rwiazwsg4aajma8xcb6wh1g-dms-shell-1.6.2+date=2026-09-17_2db7646/share/quickshell/dms
● shell.qml ············ Present
└─ /nix/store/i5xp96jz9rwiazwsg4aajma8xcb6wh1g-dms-shell-1.6.2+date=2026-09-17_2db7646/share/quickshell/dms/shell.qml
○ Install Type ········· Nix store
└─ /nix/store/i5xp96jz9rwiazwsg4aajma8xcb6wh1g-dms-shell-1.6.2+date=2026-09-17_2db7646/share/quickshell/dms
Compositor
● Hyprland ············· 0.56.2
└─ /run/current-system/sw/bin/hyprland
○ Active ··············· Hyprland
● Background Blur ······ Supported
└─ Compositor supports ext-background-effect-v1
Quickshell Features
● Polkit ··············· Available
└─ Authentication prompts
● IdleMonitor ·········· Available
└─ Idle detection
● IdleInhibitor ········ Available
└─ Prevent idle/sleep
● ShortcutInhibitor ···· Available
└─ Allow shortcut management (niri, Aqueous)
● BackgroundBlur ······· Available
└─ Background blur API support in Quickshell
Optional Features
● accountsservice ······ Available
└─ User accounts
● power-profiles-daemon Available
└─ Power profile management
● logind ··············· Available
└─ Session management
● cups-pk-helper ······· Not available (install cups-pk-helper)
└─ Printer management
→ https://danklinux.com/docs/dankmaterialshell/cli-doctor#optional-features
○ I2C/DDC ·············· No monitors detected
└─ External monitor brightness control
● qt6-imageformats ····· Installed (4 formats)
└─ Formats: WebP, TIFF, JP2, ICNS (/nix/store/f42i5s2xxc4492grifzdr3qavqbmvqkw-qtimageformats-6.11.1/lib/qt-6/plugins/imageformats)
● kimageformats ········ Installed (4 formats)
└─ Formats: AVIF, HEIF, JXL, EXR (/nix/store/6bwipq4ww4clzawm5nibayvzl05x6q10-kimageformats-6.26.0/lib/qt-6/plugins/imageformats)
● Terminal ············· foot
● Network ·············· NetworkManager
└─ NetworkManager present. Using NM API.
● matugen ·············· Missing
└─ Dynamic theming
→ https://danklinux.com/docs/dankmaterialshell/cli-doctor#optional-features
● cava ················· Missing
└─ Audio visualizer
→ https://danklinux.com/docs/dankmaterialshell/cli-doctor#optional-features
○ khal ················· Not installed
└─ Calendar events
○ danksearch ··········· Not installed
└─ File search
● dankcalendar ········· Installed
└─ Calendar app
● fprintd ·············· Installed
└─ Fingerprint auth
● adw-gtk3 ············· Installed
└─ GTK3 dynamic theming (system copy, applied on next theme apply)
Config Files
● settings.json ········ Present (read-only)
└─ ~/.config/DankMaterialShell/settings.json
→ https://danklinux.com/docs/dankmaterialshell/cli-doctor#config-files
○ clsettings.json ······ Not yet created
└─ ~/.config/DankMaterialShell/clsettings.json
● plugin_settings.json · Present (read-only)
└─ ~/.config/DankMaterialShell/plugin_settings.json
→ https://danklinux.com/docs/dankmaterialshell/cli-doctor#config-files
● session.json ········· Present
└─ ~/.local/state/DankMaterialShell/session.json
○ dms-colors.json ······ Not yet created
└─ ~/.cache/DankMaterialShell/dms-colors.json
Services
● dms.service ·········· enabled, active
● greetd ··············· enabled
Environment
○ QT_QPA_PLATFORMTHEME · qt5ct
○ qt5ct plugin (Qt5) ··· Cannot verify (no qmake/qtpaths)
└─ Install a Qt development package to let dms doctor check the plugin against the path Qt actually searches.
○ QT_QPA_PLATFORMTHEME… Not set
○ QS_ICON_THEME ········ Not set
○ XDG_MENU_PREFIX ······ Not set
Fonts
● Normal Font ·········· Inter
└─ Available via fontconfig
● Monospace Font ······· JetBrainsMono Nerd Font
└─ Available via fontconfig
──────────────────────────────────────
5 warning(s), 30 ok
Description
When qs dies while the lock screen is up, dms run doesn't notice for as long as a fingerprint attempt is still running, typically up to ~30 s. During that time there is no relaunch, and with --session no exit for systemd to restart, so the session sits on the compositor's dead-lock screen with no password prompt.
The cause is in dankgo's supervisor: qs's stderr is a pipe (the tail writer), so exec.Cmd.Wait only returns once every holder of that pipe has closed it. The fingerprint PamContext runs pam_fprintd in a process forked from qs, which inherits that pipe and outlives qs until its verify times out.
Fix: https://github.com/AvengeMedia/dankgo/pull/1, which sets WaitDelay on the UI command, with a test that fails without it.
The forked helper outliving qs is a Quickshell problem as well: https://github.com/quickshell-mirror/quickshell/issues/1249
My build is from the v1.6.2 tag through the flake, with local patches to the lock IPC and loginctl handling. This bug is in dankgo's shellapp and doesn't depend on them; the PR's test reproduces it in isolation.
Expected Behavior
dms run notices qs's exit right away and relaunches it (or exits, so systemd restarts the unit), and the new instance takes the lock back.
Steps to Reproduce
- Run DMS as the systemd user unit (
dms run --session), with fprintd enabled and a finger enrolled. - Lock:
dms ipc call lock lock. The lock screen starts a fingerprint verify. - Within a few seconds,
kill -9the qs process. - No new qs appears and
dms.servicestays active until pam_fprintd's verify times out (~30 s).
Error Messages/Logs
At the moment of the kill, the forked pam_fprintd helper holds the same stderr pipe as qs, and dms run holds its read end:
qs 37194 fd2 = pipe:[147999]
PAM helper 38652 fd2 = pipe:[147999]
dms run 37149 fd 13 = pipe:[147999] (the read end cmd.Wait drains)
After kill -9 of qs (21:23:14), polling every 2 s:
21:23:16 no qs running dms.service active (dms run alive)
...
21:23:41 no qs running dms.service active
21:23:41 quickshell.service.pam.subprocess: Relaying pam message: "Verification timed out"
Nothing is logged by dms run in between.
Screenshots/Recordings
No response
dankgo#1 is merged (AvengeMedia/dankgo@b2d0d3c3). DMS still pins dankgo b7285561 in core/go.mod, so this is fixed in DMS once that dependency is bumped. I'll close this after that.
Fixed on master: d7dc8ae5 bumped dankgo to f560632e, which includes AvengeMedia/dankgo#1. Closing.