Original source from Bobby Iliev answer on DO Community
In my case, I am only use password for droplet and not using SSH Key Please create droplet with optimal specification to run ubuntu, you can check ubuntu system requirement
TLDR
2 GHz dual core processor 4 GiB RAM (system memory)
But it depends on your usage, it just recommendation for example I wanted to run VS Code + Firefox on ubuntu desktop, so I prefer the higher droplet XD
Well you can also install xubuntu or lubuntu which is a lite version alternative
- Connect with ssh or you can use digital ocean console as well
- Then as usual update dependecies and just copy paste things XD
Update dependecies
sudo apt-get update
Here are the gnome ubuntu desktop
sudo apt-get install ubuntu-desktop
Now XRDP the magic
sudo apt-get install xrdp
You should enable XRDP on system boot
systemctl enable xrdp
In case you may have firewall let's open port 3389 for RDP Connection
sudo ufw allow 3389/tcp
Voila!! now you can reboot or just connect with your RDP client to your IPV4 Droplet as usual Then it will use root account and password you've provide in Digital ocean droplet access settings
And, if you feel lag or something like that someone said you can change the crypt level on xrdp settings like this
Open xrdp settings file, find crypt_level
then change it to low
if you don't understand nano.. after you finish editing just press CTRL+X
Y
Enter
nano /etc/xrdp/xrdp.ini
Then if you are windows user like me, you can also set up your windows RDP client like this
- Find RDP
- Choose more/show option
- On
display
tab, you should see color section then you can choose a lower colorHigh Color (15 bit)
- Then if you want to reduce internet usage, in
experience
tab you may choose connection speed in to the lower one likeModem (56kbps)
Well, I am just a beginner if you found any mistakes or have any suggestion feel free to send it in the comment below.. of course you need github account XD