Hello,
You can turn any vps into virtual desktop.
1) Windows [Paid]: Requires Windows OS license.
can use
Remote desktop connection client.
2) Ubuntu [Free]: Install ubuntu server and convert it to desktop os or use pre-configured desktop template if available.
Command to convert ubuntu server to ubuntu desktop
Code:
apt-get install ubuntu-desktop
use
tightvnc to establish remote desktop connection.
You might find following tutorial useful
Code:
Following command will install latest Xfce desktop environment and the TightVNC package on your Ubuntu 16.04 VPS. These packages are available in the official Ubuntu repository.
apt install xfce4 xfce4-goodies tightvncserver
It'll take a minute or two to complete. When it's done, you can run following command to initiate initial configuration of VNC server.
vncserver
You'll be promoted to enter and verify a password. This is the password for root VNC user. It can be different from your server root password. You'll be also asked for view-only password, you can ignore it by typing n.
It's also important that you install a package manager. You can install official Ubuntu software center. But I prefer to use Synaptic Package Manager. Following command will install it.
apt install synaptic
Update and upgrade.
apt update
apt upgrade
Configuring the VNC Server
Since you ran the vncserver command on previous step, you need to stop it before making any modifications to the configuration. Following command will do it.
vncserver -kill :1
Now backup the current configuration file.
mv ~/.vnc/xstartup ~/.vnc/xstartup.bak
Create a new xstartup file with nano text editor.
nano ~/.vnc/xstartup
Paste following lot,
#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &
Save and close file. Give proper permissions to execute the file we just created.
chmod +x ~/.vnc/xstartup
Start VNC server,
vncserver
Your VPS is now fully configured with VNC to be used as a remote desktop. But you'll need a VNC viewer installed on your local PC or MAC to be able to access it.
You will find plenty offers at
VPS Offers.
Make sure to read Terms of service before purchase, and do not store any pirated, malware data.