xrdp and xfce4 Ubuntu > 18.04 Unusable

I'm trying to connect to my Ubuntu VPS (8 core CPU, 24gb ram) using Windows 10 Remote Desktop Connection. I followed the instructions here:

https://linuxize.com/post/how-to-install-xrdp-on-ubuntu-18-04/

It's virtually impossible to do anything. It's so slow it nearly takes 15 seconds for something to happen like typing in the console or openening up the browser. I went through many threads here with similar problems but did not have any success.

I tried the latest Ubuntu version as well with no luck.

My Linux knowledge is very limited so will appreciate some assistance here.

Any idea whatI can try next ?


The default settings for an XRDP installation are not optimized. To increase XRDP performance try the following:

Make a backup of the configuration file:

cp /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.bck

Now edit the configuration file:

nano /etc/xrdp/xrdp.ini

Inside the file edit the variables "max_bpp", "xserverbpp" and "crypt_level", these are optimized values:

max_bpp = 128
xserverbpp = 128
crypt_level = low

It is convenient to add the variable "max_bpp" the variable "use_compression" with the following value:

use_compression = yes

Finally, when connecting low, lower the color quality to 16 bits instead of 32 bits.