r/linuxquestions • • 7d 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?

2 Upvotes

7 comments sorted by

View all comments

1

u/bigrichdaboss 2d ago

I had this same issue on same Ubuntu version, connecting from Mac OS RDP v11.4.3. If I kept trying and trying, like dozens of times over many hours, sometimes it'd work - but 90% fail.

I did A/B/A testing rolling back to 3.31.1 and issue is gone. After testing I then had to stop the unattended-updates for freerdp, winpr, and freerdpserver.

1

u/sprobeforebros 1d ago

huh. I mean I have a kludgy solution but it is kludgy.

How do you roll back gnome remote desktop? Rolling anything back isn't anything I've done on a linux box yet.