https://linuxize.com/post/how-to-install-xrdp-on-ubuntu-20-04/
Install Ubuntu Desktop (skipped)
sudo apt update
sudo apt install ubuntu-desktop
or
sudo apt install xubuntu-desktop
XRDP
sudo apt install xrdp
sudo systemctl status xrdp
sudo adduser xrdp ssl-cert
sudo systemctl restart xrdp
Xrdp Config (use default ok)
/etc/xrdp
ufw Firewall
echo allow 1 ip address
sudo ufw allow from 10.20.11.123 to any port 3389
# echo allow range
# sudo ufw allow from 10.20.11.0/24 to any port 3389
# echo allow anyone
# sudo ufw allow 3389
#
sudo ufw status
VNC
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-20-04
- sudo apt update
- sudo apt install xfce4 xfce4-goodies
- Select anyone display managers
- sudo apt install tightvncserver
- ...
- // Failed!!! (2022)