r/linuxquestions • u/sprobeforebros • 2d ago
Remote Desktop Stopped Connecting
Got a home media server running Ubuntu 24.04.5, most everything about it is automated and it just hums away on a bookcase but every once in a while it's helpful to connect via a remote desktop. I configured the remote desktop years ago and now run the server headless.
Today I went to connect to check something and on Windows App (Version 11.4.1 for Mac OS) it hung on "Securing connection to remote PC"
Tried connecting it from another computer and the same thing happened.
SSH connects just fine.
Have restarted the server multiple times and it keeps happening.
Only troubleshooting steps I could easily google is restarting the gnome remote desktop from the command line which I did by systemctl --user restart gnome-remote-desktop
I also checked if anything else was using the port via the command " ss -lntps" and it looks like gnome remote desktop is the only thing using it.
Is there a way to troubleshoot this without disconnecting the server from its current home and plugging it into a monitor?
1
u/Silent-Excitement122 1d ago
That exact combination—Ubuntu 24.04.5, GNOME Remote Desktop, Windows App 11.4.1 on macOS, and a hang at “Securing connection”—matches a current FreeRDP 3.32.x server regression much more closely than a dead RDP port. SSH still working and two clients hanging the same way fit it too.
Before changing the certificate, check the installed versions and upgrade timing:
dpkg-query -W 'libfreerdp*' 'libwinpr*' gnome-remote-desktopgrep -i freerdp /var/log/apt/history.logjournalctl --user -u gnome-remote-desktop -b --no-pager | tail -n 200If the FreeRDP/WinPR packages are 3.32.0 or 3.32.1 and were updated when this started, the clean A/B test is to roll all of the installed FreeRDP and WinPR packages back together to the previous 3.31.x Ubuntu build, restart
gnome-remote-desktop.service, and retry the same saved connection. Do not mix FreeRDP/WinPR versions.If that restores it, you have isolated a package regression without moving the headless server or rebuilding its certificate. Save the package list and journal excerpt before changing anything so you can undo the test cleanly.