Public bug reported:
[Impact]
After disconnecting and reconnecting via RDP, the GDM → user session handover
crashes the system daemon, making remote desktop unusable without manual
restart.
[Steps to Reproduce]
1. Connect to Ubuntu machine via RDP (e.g., using Windows Remote Desktop)
2. GDM login screen appears — enter password and log in
3. Disconnect the RDP session (close client or network drop)
4. Reconnect via RDP again
5. GDM login screen appears — enter password
6. Login screen reappears in a loop; the handover never completes
[Expected Result]
Session handover from GDM to user session should succeed on reconnection.
[Actual Result]
The system daemon crashes with:
assertion failed: (interface ==
remote_client->handover_dst->interface)
in grd-daemon-system.c:330
The disconnect/reconnect cycle leaves stale state in the daemon, causing the
assertion to fail on the next handover attempt.
[Regression]
This appears after the fix for LP #2145123 (black screen). The handover
mechanism
is broken at the next step — the daemon state is not properly cleaned up between
sessions.
[Workaround]
Before each RDP login attempt, restart the system daemon to clear stale state:
sudo systemctl restart gnome-remote-desktop
Then immediately connect and authenticate without disconnecting mid-way.
[Version]
gnome-remote-desktop 50.0-0ubuntu2
[Logs]
$ journalctl -u gnome-remote-desktop --no-pager -b | grep -A5 "assertion"
бер 28 09:13:34 nest.vps.pw gnome-remote-desktop-daemon[828741]:
g_atomic_ref_count_dec: assertion 'old_value > 0' failed
бер 28 09:13:40 nest.vps.pw gnome-remote-desktop-daemon[828741]: **
бер 28 09:13:40 nest.vps.pw gnome-remote-desktop-daemon[828741]:
ERROR:../src/grd-daemon-system.c:330:on_authorize_handover_method: assertion
failed: [... 0 more matches]
бер 28 09:13:40 nest.vps.pw gnome-remote-desktop-daemon[828741]: Bail out!
ERROR:../src/grd-daemon-system.c:330:on_authorize_handover_method: assertio
[... 0 more matches]
бер 28 09:13:41 nest.vps.pw systemd[1]: gnome-remote-desktop.service: Main
process exited, code=dumped, status=6/ABRT
бер 28 09:13:41 nest.vps.pw systemd[1]: gnome-remote-desktop.service: Failed
with result 'core-dump'.
бер 28 09:13:41 nest.vps.pw systemd[1]: gnome-remote-desktop.service: Consumed
4.859s CPU time over 4min 58.346s wall clock time, 11.7M memory peak. [...
omitted end of long line]
бер 28 09:13:41 nest.vps.pw systemd[1]: gnome-remote-desktop.service: Scheduled
restart job, restart counter is at 1.
бер 28 09:13:41 nest.vps.pw systemd[1]: Starting gnome-remote-desktop.service -
GNOME Remote Desktop...
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: gnome-remote-desktop 50.0-0ubuntu2
ProcVersionSignature: Ubuntu 6.18.0-9.9-generic 6.18.5
Uname: Linux 6.18.0-9-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.33.1-0ubuntu7
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sat Mar 28 09:26:03 2026
InstallationDate: Installed on 2024-04-01 (726 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240323)
SourcePackage: gnome-remote-desktop
UpgradeStatus: Upgraded to resolute on 2025-10-20 (159 days ago)
** Affects: gnome-remote-desktop (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2146616
Title:
gnome-remote-desktop crashes with assertion failure during session
handover after reconnect
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-remote-desktop/+bug/2146616/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs