Option 1a: Configure the TCP send buffer size
-
Edit the file /etc/xrdp/xrdp.ini
-
Locate the line that reads "tcp_send_buffer_bytes". Remove the comment character ("#").
-
Edit the value so it now reads:
tcp_send_buffer_bytes=4194304
-
Restart the service:
# systemctl restart xrdp
Option 1b: Configure the kernel network buffer size
-
Change the current network buffer size to a larger value with the following command:
sysctl -w net.core.wmem_max=8388608
-
Create a new file /etc/sysctl.d/xrdp.conf with the following content:
net.core.wmem_max = 8388608
This will ensure that the value is properly set between reboots.
Source: Link
------
I followed the 2nd option and I have a 35in samsung wide screen monitor. It would lock up and randomly come back. User FitAward_6935 goes on to explain that larger monitors now require a higher tcp send buffer. There is too much fragmentation over the xrdp protocol which then slows the performance.