With further research, the root cause has been traced to gnome-settings- daemon rather than gnome-remote-desktop. The PPA (ppa:gerry9000/grd- mstsc-fix) and earlier debdiffs resolve the observed connection failures but do so by adding retry logic in gnome-remote-desktop's handover daemon -- working around the symptom rather than fixing the cause.
The actual bug is in gsd-sharing-manager.c: when sharing_status goes OFFLINE, assigned services are unconditionally stopped, killing the handover daemon while the system RDP daemon still needs it. The fix is a one-line guard checking system_service_running before stopping. This matches the existing guard already present in the start path. Fix submitted upstream: https://gitlab.gnome.org/GNOME/gnome-settings- daemon/-/merge_requests/474 (targeting gnome-49, closes #931). Attaching corrected debdiff for gnome-settings-daemon 49.0-1ubuntu3.1. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2141992 Title: GNOME Remote Desktop: Headless system-level RDP fails NLA handshake with Windows mstsc — black screen To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-remote-desktop/+bug/2141992/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
