Report this

What is the reason for this report?

Unable to connect to Ubuntu VPS using xrdp from Microsoft Remote Desktop

Posted on April 24, 2023

I managed to succesfully install an ubuntu desktop on the droplet, and had no trouble connecting to it through Microsoft Remote Desktop form my machine, that was on Friday.

Today I tried multiple times to connect to it, but failed every single time. I’ve tried multiple different online solutions, but to no avail. The xrdp logs show nothing, I’ve configured the droplet’s firewall to allow listening on the 3389 port, tried to change the default port on both machines, etc. Yet I haven’t managed to connect to my droplet through RDP. Reinstalled multiple times, clean installs from images, the works. Even tried x2go, managing to connect to the droplet, but the desktop would crash on startup. I’m at wits end and in desperate need of help. My only clue is that, through using nmap at my machine, and using open port tool I was able to confirm that, indeed, port 3389 of the droplet is closed (even though it is supposed to be open). Meanwhile, port 22 is displayed as open, as it is supposed to be.

I would really appreciate any kind of help here.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
0

Accepted Answer

Hello

This is a duplicate to https://www.digitalocean.com/community/questions/unable-to-connect-to-ubuntu-vps-using-xrdp-from-microsoft-remote-desktop-50f811a6-e31c-4ac2-b61b-b31184fb8bea and as such I’ll close it

Additionally, @matiasantonioalonsoeiras has provided the answer to his troubles

Changing the port xrdp listens to, to some other open port fixes the issue.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.