Report this

What is the reason for this report?

How to connect to droplet via RDP connection

Posted on December 6, 2018

I want to connect to my Ubuntu 18.04 droplet where i can manage the desktop and run my game server, is this possible? If so, how? I am able to connect to the console. Take a Virtual Machine as an example.



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.

Use the following commands:

sudo apt update
sudo apt install xrdp
sudo systemctl enable xrdp

Hey friend,

I do have a tutorial for this in a way, but before I introduce it I want to be up front about expectations around it. When running any kind of server, especially a game server, most people try to get away with the least amount of $ spent for each server. This to say, they want to avoid doing things that force them to pay more than they need to in order to perform the task. When your game server is running, you’re not going to be using that desktop. That means it is, ultimately, wasted resource. To get the most bang for your buck, I recommend learning how to set up the game server over SSH instead.

With that said, I did promise a tutorial, and we do have one. This isn’t RDP, but VNC. You’ll need a VNC client (tons out there, RealVNC is an example). RDP is a Microsoft standard for Windows, and while similar alternatives exist, VNC is still by far the standard (where not needing to feel 100% native like a cloud-based desktop with audio streaming, etc). Here’s that tutorial:

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04

If VNC quality and functionality drives you crazy, x2go is more like RDP:

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-remote-desktop-with-x2go-on-ubuntu-20-04

I would note that the x2go guide does not have you install a desktop environment, however. You would be responsible for choosing one and installing it outside of that tutorial.

Jarland

Hello there,

Great points have been shared already. To add to that for anyone who comes across this in the future, I recommend checking out this DigitalOcean tutorial on setting up XRDP:

Enable Remote Desktop Protocol with XRDP on Ubuntu 22.04

This tutorial is a comprehensive guide that will walk you through enabling RDP on your Ubuntu system using XRDP. It’s a straightforward process and should provide you with a reliable remote desktop experience. If you encounter any issues or have questions while following the guide, feel free to ask!

Best,

Bobby

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.