Public bug reported:

Since the update of libfreerdp3-3 (and libfreerdp-client3-3 /
libfreerdp-server3-3) from 3.5.1+dfsg1-0ubuntu1.5 to
3.32.1+dfsg-0ubuntu0.24.04.1 on 2026-10-24, new RDP connections to
gnome-remote-desktop (46.3-0ubuntu1.2) intermittently hang. The client
stays at "Securing connection to remote PC..." and never reaches the
desktop. Restarting only the user service "gnome-remote-desktop" always
cures it immediately.

The hang was not seen before this update on this machine (the service
had been in daily use). gnome-remote-desktop itself is unchanged since
2026-04-23.

A possibly related upstream report: 
https://github.com/FreeRDP/FreeRDP/issues/13583
"Regression in 3.32.1: GNOME Remote Desktop hangs with Windows App on macOS 
after HYBRID_EX / Early User Auth". Same library version, same client, same 
client-side symptom. The reporter there is on Arch-based CachyOS with GNOME 
Remote Desktop 50.2, and their connection fails every time; here it is 
intermittent. The workaround there was downgrading FreeRDP to 3.31.1.

STEPS TO REPRODUCE (as observed, not a deterministic recipe)
1. Machine: NVIDIA DGX Spark class (arm64), DGX OS 7.6.0 on Ubuntu 24.04.5 LTS, 
GNOME Remote Desktop enabled (RDP, port 3389, systemd user service).
2. Connect from Microsoft Windows App for macOS (current Mac App Store version) 
using an .rdp file with audio playback enabled (audiomode:i:0).
3. Use the session for a while, then end it (close the window, or the network 
drops).
4. Reconnect after a short time. Sometimes (several times in one afternoon) the 
client hangs at "Securing connection to remote PC".

Observation: the hangs followed sessions in which audio playback was
active (a session without audio did not hang; a session ended by a
network drop was also followed by a hang). This is a small sample and
not proven.

EXPECTED: the new connection completes and the desktop appears.
ACTUAL: the client hangs at "Securing connection". The server log shows the 
connection attempt ending with "BIO_read retries exceeded" and 
"ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]" followed by "[RDP] Network 
or intentional disconnect, stopping session". While hung the service is idle: 
its threads are all waiting, there are no leftover TCP connections on port 
3389, CPU use is near zero. After "systemctl --user restart 
gnome-remote-desktop" the next connection works.

WORKAROUND: systemctl --user restart gnome-remote-desktop (does not
close the desktop session, only the RDP service).

Ubuntu 24.04.5 LTS (noble), arm64, DGX OS 7.6.0
gnome-remote-desktop 46.3-0ubuntu1.2
libfreerdp3-3 / libfreerdp-client3-3 / libfreerdp-server3-3 
3.32.1+dfsg-0ubuntu0.24.04.1 (previous: 3.5.1+dfsg1-0ubuntu1.5)
pipewire 1.0.5-1ubuntu3.3 (previous: 1.0.5-1ubuntu3.2), wireplumber 
0.4.17-1ubuntu4.1
gnome-shell 46.0-0ubuntu6~24.04.16, mutter 46.2-1ubuntu0.24.04.18 (both also 
updated on 2026-10-24)
Client: Microsoft Windows App for macOS (current Mac App Store version), on a 
Mac over wired Ethernet and over Tailscale (both affected)
Update that changed the packages: 2026-10-24 17:20, machine rebooted 17:30. 
First hang noticed 2026-11-01.

LOG EXCERPTS (journalctl --user -u gnome-remote-desktop, 2026-11-01)
A full connection (for comparison):
  [RDP.CLIPRDR] Client capabilities: long format names, stream file clip, file 
clip no file paths, huge file support
  [RDP.RDPGFX] CapsAdvertise: Accepting capability set with version 
RDPGFX_CAPVERSION_107 ...
  [RDP.AUDIO_PLAYBACK] Failed to open AUDIO_PLAYBACK_DVC channel 
(CreationStatus -1073741823). Trying SVC fallback
  [RDP.AUDIO_PLAYBACK] Client Formats: [AAC: false, Opus: false, PCM: true]
  *** pw_stream_set_active called from wrong context, check thread and locking: 
Not in loop

Session end by user:
  [ERROR][com.freerdp.core.peer] - [rdp_set_error_info]: ERRINFO_LOGOFF_BY_USER 
[0x0001000C]
  [RDP] Network or intentional disconnect, stopping session

A connection attempt ending without completing:
  [ERROR][com.freerdp.core.transport] - [transport_read_layer]: BIO_read 
retries exceeded
  [ERROR][com.freerdp.core.peer] - [transport_read_layer]: 
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
  [RDP] Network or intentional disconnect, stopping session
  [WARN][com.freerdp.core.rdp] - [rdp_send_deactivate_all]: rdpMcs::userId == 
0, skip sending PDU_TYPE_DEACTIVATE

(Note: a port probe sent by a connection script produces the same last
three lines, so they are not by themselves proof of a hung connection.
Full logs of the incidents can be attached: incident times 11:29, 12:37
and 12:50 local time, UTC+8.)

WHAT IS NOT KNOWN
- The root cause is not proven. The timing fits the libfreerdp3 update; audio 
playback (and the pipewire warning above) may be involved. A downgrade has not 
been tried because the library is shared with other packages.
- The affected-client list is not tested beyond Windows App for macOS.
- Whether this is the same bug as FreeRDP issue 13583 is not confirmed.

NOTE: the apport "UpgradeStatus: probably fresh install" line is wrong; this is 
an upgraded system (installed 2025-11-05, packages upgraded 2026-10-24).
Kernel: Linux 7.0.0-1019-nvidia aarch64.

I can run any debug command or provide FreeRDP trace logs
(WLOG_LEVEL=DEBUG) if the maintainers say how.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: libfreerdp3-3 3.32.1+dfsg-0ubuntu0.24.04.1
ProcVersionSignature: Ubuntu 7.0.0-1019.19~24.04.2-nvidia 7.0.14
Uname: Linux 7.0.0-1019-nvidia aarch64
ApportVersion: 2.28.3-0ubuntu0.1
Architecture: arm64
CasperMD5json:
 {
   "result": "skip"
 }
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov  1 18:41:14 2026
InstallationDate: Installed on 2025-11-05 (361 days ago)
InstallationMedia: Ubuntu-Server 24.04.3 LTS "Noble Numbat" - Release arm64 
(20250806.1)
SourcePackage: freerdp3
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: freerdp3 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug arm64 noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2172710

Title:
  gnome-remote-desktop RDP connection hangs at "Securing connection"
  after a previous session ends, since libfreerdp3-3
  3.32.1+dfsg-0ubuntu0.24.04.1 (USN-8880-1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freerdp3/+bug/2172710/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to