xrdp is quite slow
30,716
Assuming you use Xfce4, try disabling compositing with
$ xfconf-query --channel=xfwm4 --property=/general/use_compositing --type=bool --set=false --create
You could make this setting permanent in xorg.conf
with
Section "Extensions"
Option "Composite" "Disable"
EndSection
You can also work this out via GUI (install it if need be)
$ xfwm4-tweaks-settings
If yo use KDE, try disabling compositor as well, Settings -> Display and Monitor -> Compositor.
Also, try using a lower number of colors in the configuration of the client (16 bits instead of 32 bits).
Also, try these options in /etc/xrdp/xrdp.ini
.
Related:
- https://unix.stackexchange.com/questions/22077/xfce-or-pure-x11-commands-toggle-compositing-immediately-without-restarting-x
- https://unix.stackexchange.com/questions/4282/disable-composite-without-restarting-x
- https://superuser.com/questions/1539900/slow-ubuntu-remote-desktop-using-xrdp
- https://owendavies.net/articles/install-desktop-gui-on-ubuntu-server/
- https://github.com/neutrinolabs/xrdp/issues/1600
- xrdp and xfce4 Ubuntu > 18.04 Unusable
- https://github.com/neutrinolabs/xrdp/issues/501#issuecomment-262905321
Related videos on Youtube
Author by
Hölderlin
Updated on September 18, 2022Comments
-
Hölderlin over 1 year
using
xrdp
with theXorg
window system to connect from win10 toubuntu 20.04
in my local network. The connection is terrible slow. Compare to that a standard rdp connection (win10 to win10) via vpn through the internet is much faster then my localxrdp
./etc/xrdp/xrdp.ini max_bpp=32
After login via xrdp my desktop environment is:
~$ echo $XDG_CURRENT_DESKTOP GNOME
-
sancho.s ReinstateMonicaCellio about 3 yearsDid you find any answer useful? Providing feedback is useful for the community.
-
Hölderlin about 3 yearsmost of your links I came across before I start this post. My desktop env is gnome. If you use Xorg for connection, then server/client 32 bits per pixel are highest that is allowed.
-
sancho.s ReinstateMonicaCellio about 3 yearsYou already found many of the links... It would be useful if you posted what you tried from there, and the result. So others can focus in helping you better.
-
le hien over 2 yearsDid you find any solution? I have same problem, win10 to win10 is smooth all day, but Ubuntu 20.04 to win10 is slow randomly, and very terrible in late afternoon.
-