THE FIVE CONFIGURATION COMMANDS :
- sudo apt update && sudo apt upgrade -y
- sudo apt-get install ubuntu-desktop xrdp stacer -y
- sudo cp /etc/iptables/rules.v4 /etc/iptables/rules.v4.bak && sudo truncate -s 0 /etc/iptables/rules.v4
- sudo rm /usr/share/polkit-1/actions/org.freedesktop.color.policy
- sudo passwd ubuntu Example password : t6y1x9n6h7j1 so long,complex and not in a dictionary
then
sudo reboot
https://blog.51sec.org/2022/01/install-xrdp-with-ubuntu-desktop-on.html