Installing Ubuntu Desktop
apt-get update
sudo apt install ubuntu-desktop
sudo apt install xrdp -y
sed -i 's/3389/g' /etc/xrdp/xrdp.ini
sed -i 's/3389/3650/g' /etc/xrdp/xrdp.ini
sudo systemctl status xrdp
sudo adduser xrdp ssl-cert
sudo ufw allow from 192.168.2.0/24 to any port 3389
sudo ufw allow from 45.77.4.194/23 to any port 2222
pico /etc/resolv.conf
8.8.8.8
8.8.4.4
apt-get install ufw
ufw allow 3650
ufw allow 3389
ufw allow 2222
sudo ufw reload
sudo ufw status