Question

How can i create a VM with ubuntu desktop in digital ocean?

Hi, i’m a developer and i’m new to digital ocean and i like to create a VM with ubuntu desktop to develop client software in rdp or vnc, how can i create a VM with it?

Thank’you


Submit an answer


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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
October 30, 2019
Accepted Answer

Hello,

What you could do is the following:

  • Setup a new Ubuntu droplet with enough resources

  • SSH to the new droplet and run:

sudo apt-get update
  • Then if you like Gnome desktop, install the following:
sudo apt-get install ubuntu-desktop
  • After that install XRDP:
sudo apt-get install xrdp
  • Enable XRDP to start on boot:
systemctl enable xrdp
  • If you have a firewall make sure that the 3389 port is open:
sudo ufw allow 3389/tcp
  • Add a new low privileged account:

https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-18-04

Then you can use any RDP client to connect to your server with your new account.

Hope that this helps! Regards, Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

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.