Score:0

Xrdp high CPU usage

lb flag

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)enter image description here

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
guiverc avatar
cn flag
[Ubuntu 18.04 LTS has reached the end of it's *standard* support life](https://fridge.ubuntu.com/2023/05/13/extended-security-maintenance-for-ubuntu-18-04-bionic-beaver-begins-31-may-2023/) thus is now off-topic here unless your question is specific to helping you move to a supported release of Ubuntu. Ubuntu 18.04 ESM support is available, but not on-topic here, see https://askubuntu.com/help/on-topic See also https://ubuntu.com//blog/18-04-end-of-standard-support
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.