Network
The issue might be due to the network latency or limited bandwidth between your location and the Azure region where the VM is hosted
Use tracert to check the latency, just like (Windows):
Tracert xxx.xxx.xxx.xxx
or
You can try azure speed to show Latency test by region
https://www.azurespeed.com/Azure/Latency
XRDP Session Configuration
This file, typically located at /etc/xrdp/xrdp.ini, contains configuration settings for the XRDP server. You can adjust the settings related to color depth and resolution to lower values to improve performance. For example, changing the max_bpp (bits per pixel) to a lower value like 16 can reduce the amount of data transmitted.
Compression: Enabling or increasing compression can also improve performance. Look for compression settings in the xrdp.ini file and adjust accordingly.
Other suggestions:
Ensure your VM's DNS settings are correctly configured to resolve external and internal names efficiently. This is more about ensuring reliable connections than performance optimization
Get in touch if you need more help with this issue.
--please don't forget to "[Accept the answer]" if the reply is helpful--