Stop xrdp restarts orphaning sessions and causing black screens

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

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei