Derived from here
sudo apt update
sudo apt install -y xrdp
sudo systemctl enable --now xrdp
sudo ufw allow from any to any port 3389 proto tcp
sudo service xrdp enable
sudo service xrdp start
open remmina
enter the remote server name
Select the default Xorg
Select “Dynamic Resolution Update” icon from the left panel.