GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Laptop remote desktop rotted: KRdp logons all fail — krdpserver's KWallet user store never loads under the Hyprland session · Issue #5415 · developing-today/code

Laptop remote desktop rotted: KRdp logons all fail — krdpserver's KWallet user store never loads under the Hyprland session #5415

New issue
Copy link
New issue
Copy link
Done
Done
Laptop remote desktop rotted: KRdp logons all fail — krdpserver's KWallet user store never loads under the Hyprland session#5415
Copy link
Labels
effort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)

Description

@developing-today
developing-today
bot
opened on Nov 4, 2026
Issue body actions

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:

  • loginctl show-session 3 (seat0, active): Type=wayland, Desktop=Hyprland
  • No kwalletd6/kwalletd process running at all
  • Session bus: org.freedesktop.DBus.NameHasOwner org.kde.kwalletd6 → false

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.

Activity

Next
  1. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    status/needs-triageNot yet triaged; needs a first look
    on Nov 4, 2026
  2. dezren39 commented on Nov 4, 2026

    @dezren39
    dezren39
    on Nov 4, 2026
    Member
    More actions

    Intake review

    🤖 Agent note · state: filed

    • Agent: fleet monitor
    • 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.

  3. dezren39
    added
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 4, 2026
  4. github-actions
    assigned
    dezren39
    on Nov 4, 2026
  5. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 5, 2026
  6. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    Member
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane code-v
    • Session / ID: task 10038
    • Found via: queue claim
    • Task: Triage complete for issue Laptop remote desktop rotted: KRdp logons all fail — krdpserver's KWallet user store never loads under the Hyprland session #5415 — bug reproduced live this shift.
    • Expectation: done as below.
    • Links: n/a

    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).

  7. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  8. 124 remaining items

  9. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    Member
    More actions

    🤖 Agent note · blocked (packet defect)

    • Agent: repo-worker-code, OpenChamber scheduled lane code-h
    • Task: 12734 — revalidated and blocked after atomic claim.
    • Fresh state: issue Laptop remote desktop rotted: KRdp logons all fail — krdpserver's KWallet user store never loads under the Hyprland session #5415 OPEN with user/escalated, status/blocked, and queue/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.
    • 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.
  10. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    Member
    More actions

    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?

    • (a) Run the laptop seat session under Plasma — the merged fix(nixos): KRDP KWallet user store + Plasma-session start (Hyprland start deferred) #7767 path works as-is; unblocks: nothing to build, acceptance is a logon test.
    • (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.

  11. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    Member
    More actions

    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.

  12. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    Member
    More actions

    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.

  13. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    Member
    More actions

    xaltha lane: releasing queue task 12734. This task is marked execution_lane opencode (LAPTOP OPENCODE SESSION ONLY per Drew 2026-11-23 12:16 CST), so the Muse lane is standing down — no checkout touched, no new work started. Task verified back to queued with worker null; the opencode session can claim it. Note: the task packet also records a live blocker (issue carries status/blocked + queue/blocked; PR #7767 merged Plasma-session-only; the current Hyprland portal advertises no org.freedesktop.impl.portal.RemoteDesktop), so the Hyprland NLA acceptance still needs that gap resolved before any lane re-implements.

  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    Member
    More actions

    xaltha lane: task 12734 was handed to this seat by fleet agent next and is released immediately — opencode tasks are laptop opencode session only per Drew 2026-11-23 12:16 CST. Verified back to queued (worker null, lease null). No checkout touched. The task's recorded blocker stands: PR #7767 is merged and Plasma-session-only, and the Hyprland portal still lacks RemoteDesktop, so the packet's Hyprland NLA acceptance cannot be met by repeating the old implementation.

  15. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    Member
    More actions

    🤖 Agent note · released (xaltha, task 12734)

    • Revalidated 2026-11-23: Laptop remote desktop rotted: KRdp logons all fail — krdpserver's KWallet user store never loads under the Hyprland session #5415 OPEN, labels status/blocked + queue/blocked + user/escalated. PR fix(nixos): KRDP KWallet user store + Plasma-session start (Hyprland start deferred) #7767 (branch queue/12734-5415-kwallet-hyprland) MERGED 2026-11-11 — Plasma-session-only; its title defers the Hyprland start.
    • The packet's Hyprland NLA acceptance is still unmet: the current Hyprland portal advertises no org.freedesktop.impl.portal.RemoteDesktop, so the merged change cannot satisfy it. No new packet update or live evidence clears that blocker; re-implementing the same slice would repeat merged work.
    • This task's execution lane is opencode; per Drew 2026-11-23 the sandbox seat cannot run opencode tasks, so releasing the claim. No checkout, no code changes.
    • Resume needs an owner/architecture decision on the Hyprland RemoteDesktop gap (the three alternatives already recorded in task progress), via a laptop opencode session.
  16. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    Member
    More actions

    Releasing queue task 12734 (xaltha lane, 2026-11-23 ~14:00 CST): the task packet marks this hand execution_lane opencode, which is laptop-opencode-session only per Drew 2026-11-23 12:16 CST, so the Muse lane is standing down. No checkout touched, no branch created. Task verified back to queued with worker null; the opencode session can claim it. Issue remains open and blocked on the Hyprland remote-desktop route.

  17. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    Member
    More actions

    🤖 Agent note · resolved — route (b) verified live; dual-route decision recorded

    • Agent: OpenChamber scheduled lane oc-code-07 (worker repo-worker-code), running on the laptop.
    • Decision applied: decision:v1 by Drewry (via Felix, main chat) at 2026-11-22 — support both routes: (a) Plasma seat session and (b) Hyprland + a non-portal remote stack; retirement rejected.
    • What that settles here: KRdp stays the Plasma route (merged fix(nixos): KRDP KWallet user store + Plasma-session start (Hyprland start deferred) #7767, unchanged). The Hyprland route is Sunshine/Moonlight, which is already implemented in nixos/hosts/amd-sunshine.nix (KMS capture — no RemoteDesktop portal backend needed) and does not require the shared acceptance test's KRdp-under-Hyprland path, which remains architecturally foreclosed by the pinned Hyprland portal.

    Live evidence (this laptop, fresh 2026-11-23):

    • loginctl show-session 3 → Type=wayland Desktop=Hyprland Active=yes (unchanged seat).
    • sunshine.service (user) active since 2026-11-16, KMS capture, listening on 47984/47989/47990; web UI answers 401 (auth required, i.e. up).
    • vainfo: H.264/HEVC VAEntrypointEncSlice on the Radeon 780M.
    • Real end-to-end Moonlight sessions on 2026-11-22 under this Hyprland session (Sunshine log): CLIENT CONNECTED, Screencasting with KMS, Creating encoder [av1_vaapi], repeated sessions 05:56–06:08Z — hardware-encoded, no software fallback.
    • pgrep krdpserver / pgrep kwalletd empty — expected under Hyprland, and no longer a defect under the dual-route decision.

    Declarative record: PR #13683 notes the decision in both host modules (comments only; no behaviour change). nix-instantiate --parse and git diff --check pass.

    Credential handling: none accessed; krdp.amd-6-password was not read, and nothing credential-like appears in this note or the PR.

    Closing #5415 on this basis: the fleet's remote-desktop route to the laptop under the Hyprland seat is live and verified (Sunshine), and the Plasma route remains available. Labels user/escalated, status/blocked, queue/blocked are stale and removed.

  18. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    Member
    More actions

    🤖 Agent note · completed — declarative record merged; closing

    • Change: PR #13683 merged as bb1721cc4e80129f0deabc0dbdc33d16bc9c8586 (comments only in nixos/hosts/amd-krdp.nix and nixos/hosts/amd-sunshine.nix; nix-instantiate --parse and git diff --check pass; PR merged CLEAN).
    • Acceptance reconciliation: the original acceptance ("KRdp logons succeed under the Hyprland session") is superseded by the recorded 2026-11-22 owner decision to support both routes. KRdp remains the Plasma-session route (merged fix(nixos): KRDP KWallet user store + Plasma-session start (Hyprland start deferred) #7767, unchanged, no deploy needed for this closure); the Hyprland-session route is Sunshine, live and verified as detailed in the evidence comment above (active sunshine.service, KMS capture, av1_vaapi, real 2026-11-22 Moonlight sessions under Type=wayland Desktop=Hyprland).
    • Residual risk: none for the Hyprland route; Sunshine pairing/admin credentials stay machine-local by design. A Plasma seat would use the already-merged KRdp path when that seat is chosen.
    • Credentials: krdp.amd-6-password was never accessed; no secret value appears in the PR, this note, or any log.

    Closing #5415. Removing the now-stale user/escalated, status/blocked, and queue/blocked labels.

  19. dezren39
    removed
    status/blockedQueue or user escalation state
    user/escalatedRequires a Drew decision or access
    queue/blockedQueue or user escalation state
    on Nov 23, 2026
  20. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    Member
    More actions

    Closed as implemented.

  21. dezren39
    closed this as completedon Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.