- Ya
- 16 Agosti 2026, 17:08 UTC
- Mwandishi
- Kamo
- Ahadi ya
- 14273da
systemctl restart xrdp makes xrdp-sesman forget its in-memory session registry while the Xorg processes keep running. The next login cannot find the session so it creates a SECOND display for that user — and the second one renders black, because Plasma is single-instance per user and the two share one D-Bus bus. Found four displays (:10 :11 :12 :13) across two users with only two working desktops. install-agent.sh restarts xrdp on every run, so this recurred on every install. kamo-xrdp-reset.sh ends graphical sessions, reaps orphaned Xorg/chansrv processes and clears stale sockets BEFORE restarting, and install-agent.sh now calls it instead of restarting xrdp directly.