After installing Ubuntu Desktop, you can enable an RDP service so you can connect to your Ubuntu Desktop server using the Remote Desktop Connection software on Windows or Microsoft Remote Desktop on Linux and MacOS.
- Log in to your VPS server via SSH.
- Install the xrdp package:
sudo apt install xrdp -y - Add the xrdp user to the ssl-certs group so it can access the file /etc/ssl/private/ssl-cert-snakeoil.key:
sudo adduser xrdp ssl-cert - Restart the xrdp service so these changes take effect:
sudo systemctl restart xrdp - Connect to the VPS IP address using the Remote Desktop Connection software on Windows or Microsoft Remote Desktop on Linux and MacOS, with the username and password of your VPS.
- You now have access to the Ubuntu Desktop via RDP.