You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Laptop remote desktop rotted: KRdp logons all fail — krdpserver's KWallet user store never loads under the Hyprland session #5415
Discovered 2026-11-04 during a codespace-scope grant attempt: the fleet's KRdp route to the laptop is dead, and every logon fails.
Symptom. KRdp (:3389) requires NLA and rejects every logon (ERRCONNECT_LOGON_FAILURE).
Root cause. KRdp's managed users are stored by KWallet. Per the declarative setup in nixos/hosts/amd-krdp.nix:
RDP usernames/passwords are NOT passed on the command line (they would land in the world-readable Nix store and process list). They are managed on the machine in System Settings -> Networking -> Remote Desktop (the KCM ships in this same package) and are stored by KWallet, never in the repo.
But the laptop's seat session is no longer Plasma. Verified live 2026-11-04:
So krdpserver starts with no user store loaded — there is no user it can authenticate. (The nix module's own header anticipates the class of problem: the unit is WantedBy plasma-workspace.target, i.e. it was designed to start with the Plasma session.) This silently killed the fleet's co-provisioned GUI fallback route to the laptop. RustDesk is the other fallback and has a separate sandbox-side GLX problem — out of scope here.
Fix candidates.
(a) Ensure kwalletd autostarts in the Hyprland session (session config / systemd user unit in the same declarative layer, nixos/hosts/amd-krdp.nix), verified by a successful KRdp NLA logon.
(b) Or migrate KRdp to an auth model that doesn't depend on KWallet under a non-Plasma session.
Acceptance. A KRdp connection with the filed credential (krdp.amd-6-password in Bitwarden) completes logon to the live session.
Acceptance criteria
KRdp logons succeed under the Hyprland session: krdpserver's KWallet user store loads and a remote-desktop login completes.
No regression: existing tests/checks for the touched area remain green, and the change lands via PR referencing this issue.
Evidence (PR link, test/CI output, or verification note) is posted on this issue before it is closed.
Session / ID: repo-fleet-monitor run 2026-11-04 06:12 CST
Found via: monitor reconciliation
Task: Intake enrichment (protocol §5): verified still live in a bounded check this run (no merged PR or closed duplicate naming this fix), appended acceptance criteria, normalized labels.
Expectation: as labelled (effort class on the issue); done = acceptance criteria met with evidence linked here.
Related: none identified in this bounded pass. Risks: Low for the intake pass itself; implementation risk lives in the issue body. Suggested approach: Triage through the queue in dependency order, verifying each step's acceptance evidence before closing.
Reproduced fresh (2026-11-05T13:31Z, laptop via the fleet laptop route):pgrep kwalletd6 / pgrep kwalletd → no process (NO_KWALLETD); seat0 session (session 3) is present. This matches the issue's 2026-11-04 verification exactly: under the Hyprland seat session no KWallet daemon runs, so krdpserver has no user store to authenticate against and every NLA logon fails. The bug is live, not stale.
Fix path (scoped): candidate (a) from the issue — make kwalletd autostart under the Hyprland session (systemd user unit / session config in the same declarative layer as nixos/hosts/amd-krdp.nix), verified by a successful KRdp NLA logon with the filed credential. Candidate (b) (replace the KWallet auth model) is the fallback only if (a) proves fragile.
Routing note: the touched file lives in the darwin-nix configuration (the laptop's NixOS hosts), not in this repo — the implementation belongs to the nix repo's queue/sweep, referencing this issue, not to a code-repo PR. Acceptance stays as written on the issue: logon completes, evidence posted before close.
Released to the queue under Drew's 2026-11-13 unblock-all order (main chat, 23:53 CT). Task(s) 12734 moved from blocked/parked to queued in the fleet unblock-all pass (worker main-unblock-all-2026-11-13). Dependency gates still recorded on a task remain recorded — the dependency checker will re-block it if a gate is genuinely unmet.
state: blocked (escalated — unchanged)
task: 12734 (lane any-d, repo-worker-code)
issue: #5415 — KRdp logons fail: KWallet user store never loads under Hyprland
Re-served claim re-verified fresh 2026-11-14 by lane any-d; the escalation recorded by lane code-j (2026-11-12) stands unchanged: #5415 is OPEN, assigned to Drew, labeled user/escalated. PR #7767 is MERGED but intentionally supports Plasma-session start only; the Hyprland start was removed because the pinned Hyprland portal lacks KRDP's required RemoteDesktop interface, and #8734 (the re-scope record) is CLOSED. The acceptance test — a live KRdp NLA logon with the filed Bitwarden credential against the laptop's live Hyprland session — turns on Drew's direction for the auth model (fix candidate (a) is foreclosed by the portal limitation; candidate (b) is a migration decision), so task 12734 is blocked as escalated rather than re-worked. Nothing was modified.
pgrep kwalletd / pgrep krdpserver: both empty — unchanged.
Portal backends (busctl --user list): hyprland impl active; GTK impl active; GNOME impl activatable. Introspection of org.freedesktop.impl.portal.desktop.hyprland at /org/freedesktop/portal/desktop exposes GlobalShortcuts, InputCapture, ScreenCast, Screenshot only — no org.freedesktop.impl.portal.RemoteDesktop. So fix candidate (a) (autostart kwalletd in the session) cannot produce a working KRdp logon: krdpserver's PortalSession has no backend that can serve a desktop.
PR #7767 is MERGED (e95cc33, 2026-11-11) and deliberately Plasma-session-only; a942c88b02 removed hyprland-session.target from the unit and recorded the reason in the nixos/hosts/amd-krdp.nix header. Main is at a756d08438 today, unchanged in this area.
Decision required (Drew): the remaining acceptance — a live Hyprland KRdp NLA logon with krdp.amd-6-password — is foreclosed for candidate (a) by the pinned portal. Options, with my read:
Authorize a RemoteDesktop-capable backend for the Hyprland session (new/updated xdg-desktop-portal-hyprland, or install a backend that implements RemoteDesktop and route the Hyprland session to it). Then re-enable hyprland-session.target in amd-krdp.nix and verify end-to-end.
/run/current-system/sw/share/xdg-desktop-portal/portals/hyprland.portal Interfaces = Screenshot;ScreenCast;GlobalShortcuts;InputCapture — no org.freedesktop.impl.portal.RemoteDesktop, which KRdp requires. So option (a) (kwalletd autostart under Hyprland) cannot deliver a KRdp logon on the current portal.
Can't-you gate: the fleet cannot clear this — the remaining choices change the laptop's remote-desktop architecture or the issue's acceptance scope, which is Drew's decision. Options recorded in the pending-decisions ledger as item krdp-hyprland-portal-5415: (1) authorize a RemoteDesktop-capable portal/backend for Hyprland, (2) re-scope #5415 acceptance to Plasma-session only, (3) migrate to an auth/backend path independent of KWallet+portal (refs #5694, #9310). No files, deploy, or credential access touched this shift.
Verdict: DUPLICATE — the escalation recorded by lane code-j (2026-11-12) and re-verified 2026-11-16 by lanes code-h and code-d stands unchanged, and the blocker is genuinely Drew's.
Why the fleet cannot clear it: every technical path runs through a direction only Drew sets — return the seat session to Plasma for the KRdp route, change the portal/stack the laptop pins, or retire KRdp as the GUI fallback in favour of another route. The issue is assigned to Drew and the escalation is carried in the pending-decisions ledger (verified this shift: the Laptop remote desktop rotted: KRdp logons all fail — krdpserver's KWallet user store never loads under the Hyprland session #5415 escalation item is present with the 2026-11-12 evidence). The can't-you gate, plainly: the fleet diagnosed it, shipped the Plasma half, and recorded the re-scope; the remaining step is a choice about Drew's own desktop session, not a fix a lane can make.
Routing: none. When Drew picks the direction, the implementation is a fresh scoped packet against this issue; until then the queue stops re-issuing this triage.
Action: no duplicate implementation, deployment, or credential access. The task packet still describes the superseded Hyprland-start implementation and does not reflect the merged scope; the blocker alternatives are already documented on this issue.
Next: reconcile packet scope with the existing architecture record before attempting this fix again.
Owner-parks batch (#12234, 2026-11-22) — sharpened: this is a genuine owner question, stated exactly.
What is settled: PR #7767 merged a Plasma-session-only KRdp fix; the laptop's live session is Hyprland, which lacks the RemoteDesktop portal backend KRdp needs, so logons still fail. No further agent implementation is blocked on evidence — it is blocked on a choice about Drew's own laptop:
The question: which remote-desktop route should the fleet standardize on for the laptop?
(b) Keep Hyprland and adopt a non-portal remote stack (e.g. wayvnc/Sunshine-class) — unblocks: an implementation slice to package, configure, and swap the fleet route to it.
(c) Retire the laptop remote-desktop route — unblocks: closing this issue and removing the dead route from the fleet's surfaces.
Each answer is one word here; the follow-on work is fleet work in all three branches. The stale task packet describing the superseded Hyprland-start implementation should not be re-issued in any branch.
Hands item — confirmed in the #12234 owner-parks sweep (archer, lane S, 2026-11-22). What is settled: PR #7767's fix is Plasma-session-only, the laptop's live session is Hyprland, and Hyprland lacks the RemoteDesktop portal backend KRdp needs, so no further agent implementation can close this. The remaining question is a choice about Drew's own laptop, with the three branches and their follow-ons stated in the 2026-11-22 note on this issue; every branch's follow-on is fleet work. The stale task packet describing the superseded Hyprland-start implementation should not be re-issued in any branch.
The one action is in the marker above and in this issue's body, so the dashboard and fleet agent next treat this as a hands item; user/escalated stays until the action lands.
decision:v1
by: Drewry (via Felix, main chat)
at: 2026-11-22
Remote-desktop route: BOTH. Drewry approved routes (a) Plasma and (b) Hyprland + non-portal — support both rather than picking one; retirement (c) is rejected. Implementation proceeds on that basis.
Activity
dezren39 commentedon Nov 4, 2026
Intake review
🤖 Agent note · state: filed
Related: none identified in this bounded pass.
Risks: Low for the intake pass itself; implementation risk lives in the issue body.
Suggested approach: Triage through the queue in dependency order, verifying each step's acceptance evidence before closing.
dezren39 commentedon Nov 5, 2026
🤖 Agent note · done
Triage — task 10038, issue #5415
Reproduced fresh (2026-11-05T13:31Z, laptop via the fleet laptop route):
pgrep kwalletd6/pgrep kwalletd→ no process (NO_KWALLETD); seat0 session (session 3) is present. This matches the issue's 2026-11-04 verification exactly: under the Hyprland seat session no KWallet daemon runs, so krdpserver has no user store to authenticate against and every NLA logon fails. The bug is live, not stale.Fix path (scoped): candidate (a) from the issue — make kwalletd autostart under the Hyprland session (systemd user unit / session config in the same declarative layer as
nixos/hosts/amd-krdp.nix), verified by a successful KRdp NLA logon with the filed credential. Candidate (b) (replace the KWallet auth model) is the fallback only if (a) proves fragile.Routing note: the touched file lives in the darwin-nix configuration (the laptop's NixOS hosts), not in this repo — the implementation belongs to the nix repo's queue/sweep, referencing this issue, not to a code-repo PR. Acceptance stays as written on the issue: logon completes, evidence posted before close.
Outcome for task 10038: triaged (reproduced).
113 remaining items
dezren39 commentedon Nov 14, 2026
Released to the queue under Drew's 2026-11-13 unblock-all order (main chat, 23:53 CT). Task(s) 12734 moved from blocked/parked to queued in the fleet unblock-all pass (worker
main-unblock-all-2026-11-13). Dependency gates still recorded on a task remain recorded — the dependency checker will re-block it if a gate is genuinely unmet.dezren39 commentedon Nov 14, 2026
state: blocked (escalated — unchanged)
task: 12734 (lane any-d, repo-worker-code)
issue: #5415 — KRdp logons fail: KWallet user store never loads under Hyprland
Re-served claim re-verified fresh 2026-11-14 by lane any-d; the escalation recorded by lane code-j (2026-11-12) stands unchanged: #5415 is OPEN, assigned to Drew, labeled user/escalated. PR #7767 is MERGED but intentionally supports Plasma-session start only; the Hyprland start was removed because the pinned Hyprland portal lacks KRDP's required RemoteDesktop interface, and #8734 (the re-scope record) is CLOSED. The acceptance test — a live KRdp NLA logon with the filed Bitwarden credential against the laptop's live Hyprland session — turns on Drew's direction for the auth model (fix candidate (a) is foreclosed by the portal limitation; candidate (b) is a migration decision), so task 12734 is blocked as escalated rather than re-worked. Nothing was modified.
dezren39 commentedon Nov 16, 2026
🤖 Agent note · blocked (escalated)
repo-worker-code, OpenChamber scheduled lane code-hses_e5e1b57a892ffePEnORe49oGFauser/escalatedFresh state 2026-11-16 (laptop-local checks, this lane runs on the host):
loginctl: session 3 active,Type=wayland Desktop=Hyprland— unchanged.pgrep kwalletd/pgrep krdpserver: both empty — unchanged.busctl --user list): hyprland impl active; GTK impl active; GNOME impl activatable. Introspection oforg.freedesktop.impl.portal.desktop.hyprlandat/org/freedesktop/portal/desktopexposes GlobalShortcuts, InputCapture, ScreenCast, Screenshot only — noorg.freedesktop.impl.portal.RemoteDesktop. So fix candidate (a) (autostart kwalletd in the session) cannot produce a working KRdp logon: krdpserver's PortalSession has no backend that can serve a desktop.e95cc33, 2026-11-11) and deliberately Plasma-session-only;a942c88b02removedhyprland-session.targetfrom the unit and recorded the reason in thenixos/hosts/amd-krdp.nixheader. Main is ata756d08438today, unchanged in this area.Decision required (Drew): the remaining acceptance — a live Hyprland KRdp NLA logon with
krdp.amd-6-password— is foreclosed for candidate (a) by the pinned portal. Options, with my read:RemoteDesktopand route the Hyprland session to it). Then re-enablehyprland-session.targetinamd-krdp.nixand verify end-to-end.No deploy,
nixos-rebuild, credential access, file edit, or competing PR was made by this lane.dezren39 commentedon Nov 16, 2026
state: blocked (escalated)
task: 12734 (lane code-d, repo-worker-code)
issue: #5415 — KRdp logons fail: KWallet user store never loads under Hyprland
Fresh re-verification this shift (2026-11-16, via laptop):
Can't-you gate: the fleet cannot clear this — the remaining choices change the laptop's remote-desktop architecture or the issue's acceptance scope, which is Drew's decision. Options recorded in the pending-decisions ledger as item krdp-hyprland-portal-5415: (1) authorize a RemoteDesktop-capable portal/backend for Hyprland, (2) re-scope #5415 acceptance to Plasma-session only, (3) migrate to an auth/backend path independent of KWallet+portal (refs #5694, #9310). No files, deploy, or credential access touched this shift.
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged — duplicate; escalation to Drew stands, live state re-verified today (task 18306, queue repo-health-code-pilot, lane code-a)
user/escalatedis the live state and is left untouched.loginctlsession 3 is stillType=wayland, Desktop=Hyprland;pgrep kwalletd6andpgrep krdpserverboth return nothing. The root cause is therefore unchanged: krdpserver has no KWallet user store under the Hyprland session, and the pinned Hyprland portal lacks KRDP's required RemoteDesktop interface — PR fix(nixos): KRDP KWallet user store + Plasma-session start (Hyprland start deferred) #7767 (MERGED 2026-11-11) intentionally supports Plasma-session start only, and the re-scope record stale-pr: resolve code#7767 — fix(nixos): start KRDP in the Hyprland session #8734 is CLOSED.dezren39 commentedon Nov 22, 2026
🤖 Agent note · blocked (packet defect)
code-huser/escalated,status/blocked, andqueue/blocked; PR fix(nixos): KRDP KWallet user store + Plasma-session start (Hyprland start deferred) #7767 is MERGED and explicitly Plasma-session-only. The required Hyprland KRDP acceptance remains incompatible with the documented missing RemoteDesktop portal backend.dezren39 commentedon Nov 22, 2026
Owner-parks batch (#12234, 2026-11-22) — sharpened: this is a genuine owner question, stated exactly.
What is settled: PR #7767 merged a Plasma-session-only KRdp fix; the laptop's live session is Hyprland, which lacks the RemoteDesktop portal backend KRdp needs, so logons still fail. No further agent implementation is blocked on evidence — it is blocked on a choice about Drew's own laptop:
The question: which remote-desktop route should the fleet standardize on for the laptop?
Each answer is one word here; the follow-on work is fleet work in all three branches. The stale task packet describing the superseded Hyprland-start implementation should not be re-issued in any branch.
dezren39 commentedon Nov 22, 2026
Hands item — confirmed in the #12234 owner-parks sweep (archer, lane S, 2026-11-22). What is settled: PR #7767's fix is Plasma-session-only, the laptop's live session is Hyprland, and Hyprland lacks the RemoteDesktop portal backend KRdp needs, so no further agent implementation can close this. The remaining question is a choice about Drew's own laptop, with the three branches and their follow-ons stated in the 2026-11-22 note on this issue; every branch's follow-on is fleet work. The stale task packet describing the superseded Hyprland-start implementation should not be re-issued in any branch.
The one action is in the marker above and in this issue's body, so the dashboard and
fleet agent nexttreat this as a hands item;user/escalatedstays until the action lands.dezren39 commentedon Nov 22, 2026
decision:v1
by: Drewry (via Felix, main chat)
at: 2026-11-22
Remote-desktop route: BOTH. Drewry approved routes (a) Plasma and (b) Hyprland + non-portal — support both rather than picking one; retirement (c) is rejected. Implementation proceeds on that basis.