Slow Ubuntu Remote Desktop using xrdp
I have created an azure virtual machine with the following specifications:
- Ubuntu 18.04 LTS
- F16s_v2 Standard (16 vCPU and 32 GiB RAM)
- SSD unit
Since I need to connect via Remote Desktop, I followed this guide to install xfce and xrdp. Once finished, I connected to the server with Microsoft Remote Desktop but I noticed an excessive slowness in interactivity. I don't think the problem is my internet connection because:
- By connecting to other Azure Windows VM I don't have the same problem;
- I asked to a colleague to do a test from his home and he experienced the same problem;
What could be the problem?
4 Answers
I'm using xrdp w/ KDE and these compositor settings appear to have helped quite a bit:
scale method: crisp
rendering backend: OpenGL 2.0
Tearing prevention: Only when cheap
Keep window thumbnail: never
Allow options to block composting: yes 2 I disabled the compositor, as suggested here:
Hello, I have experiment same problem with xfce and ubuntu 16.04. I have disable compositor in xfce windows settings. Now it's work fine.
It made a huge difference, now everything works fine.
2I installed Ubuntu server XRDP. Went through Windows and terribly slowed down. I solved this problem. In the /etc/xrdp/xrdp.ini file, change crypt_level=high to crypt_level=None
If you are using the recent versions, you need to enable the RFX codec. Use the link below for more information.
1More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"