I have a ubuntu remote server to which I use RDP to connect from my local windows machine.
I have installed Xrdp and the connection seems to work, but Xrdp process seems to have very high cpu usage (~50% while idle, and up to 100% when performing actions on the remote machine using the GUI)
Is this normal behavior? If not, how could I remedy this?
My first guess if that Xrdp is running using software rendering. But I am not sure how to enable hardware acceleration. Is it even possible on my setup?
Physical setup:
Dell R740, S/N 3LQVGY2
CPU: Xeon Silver 4110 2 szt.
RAM: 16GB 2666MHz RDIMM 2 szt.
RAID H730P
Video:
> lspci -nnk | grep VGA -A1
03:00.0 VGA compatible controller [0300]: Matrox Electronics Systems Ltd. Integrated Matrox G200eW3 Graphics Controller [102b:0536] (rev 04)
Subsystem: Dell Integrated Matrox G200eW3 Graphics Controller [1028:0715]
Ubuntu version: Ubuntu 18.04.6 LTS
Xrdp verion:
> stdbuf -o0 xrdp -v | grep Version
Version 0.9.5
Xorg version:
> sudo X -version
X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.4.0-139-generic x86_64 Ubuntu
Current Operating System: Linux hwpmt 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-213-generic root=UUID=bd3dc8a2-f8ef-45f1-afba-597ef0e657af ro
Build Date: 29 March 2023 03:16:03PM
xorg-server 2:1.19.6-1ubuntu4.15 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.34.0