XRDP - Remote desktop laggy over WAN

Well, I noticed that the remote was very laggy on fiber connections.
Is there a better and faster solution?

I think the limiting factor is your RPi 5. It has to capture the screen and encode it.
Even on “big” machines" there is a noticable lag most of the time.
I think there is nothing much you could improve. Overclock the RPi and maybe you have a QoS feature on your router, to get it higher priority in the network.

I was able to solve it, I leave the solution here in case it helps someone.

you have to edit the file:

and you have to modify the buffer leaving it like this:


with this it improves a lot.

and it also helps to connect with 16-bit colors instead of 32-bit

I hope it helps you all

1 Like