The best way to code and keep it fast, is passing files and folders in a graphic way
Follow instructions:
https://linuxize.com/post/how-to-install-xrdp-on-ubuntu-20-04/
Network rules for 192.168.3.0 network:
sudo ufw allow from 192.168.33.0/24 to any port 3389
Remove old not used packages:
sudo apt autoremove
Select desktop for xrdp and TightVNC:
sudo update-alternatives --config x-session-manager
Remove desktop:
sudo apt remove vanilla-gnome-desktop