Slow Ubuntu Remote Desktop using xrdp

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

KDE compositor settings for xrdp headless vm


I disabled the compositor, as suggested here: https://github.com/neutrinolabs/xrdp/issues/501#issuecomment-262905321

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.