Hi Matthew,

Thanks for testing and confirming this -- your observations match the
root cause exactly. The "Aborting handover, removing remote client"
message is the smoking gun: gsd-sharing (in gnome-settings-daemon) is
killing the handover daemon before clients can complete the redirect.

The fix is a one-line guard in gsd-sharing-manager.c that prevents
stopping the handover service while the system RDP daemon is active.
It's already fixed on GNOME main (GNOME 50 / Ubuntu 26.04) via a
different approach -- commit 65b257b6 removed the dependency between
assigned services and network status entirely, so the handover daemon is
no longer affected. Our MR !474 (https://gitlab.gnome.org/GNOME/gnome-
settings-daemon/-/merge_requests/474) provides the minimal backport for
stable branches (GNOME 46-49), with the bug tracked at gnome-settings-
daemon #931 (https://gitlab.gnome.org/GNOME/gnome-settings-
daemon/-/issues/931).

If you want to test immediately on 25.10, there's a PPA:

  sudo add-apt-repository ppa:gerry9000/grd-mstsc-fix
  sudo apt update && sudo apt upgrade
  sudo systemctl restart gnome-remote-desktop

Your confirmation that this reproduces with FreeRDP/guacd (not just
mstsc) is valuable -- it matches our testing showing all RDP clients are
affected on headless systems.

For the full technical deep-dive -- including how the root cause was
traced from protocol negotiation to the gsd-sharing service lifecycle --
there's a write-up here: https://github.com/Gerry9000/white-
papers/tree/main/rdp-auth-forensics-and-ai-patching


** Bug watch added: gitlab.gnome.org/GNOME/gnome-settings-daemon/-/issues #931
   https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/issues/931

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

Reply via email to