After you have made changes to configuration stuff in xrdp, you will have to restart its service in order for those changes to take effect. here are some ways of restarting it (I will add more commands related to this part when I find more)
sudo systemctl restart xrdp.service
sudo /etc/init.d/xrdp restart
There are multiple possibilities in this case: