-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xrdp is slow if compare with Windows Server or NoMachine #2506
Comments
@thenik - the best you can do at the moment is make sure RFX is enabled in the client. See #2136 for how to do this from Windows 10. We're currently working on a solution based on GFX but it isn't there yet. See #1422 and neutrinolabs/librfxcodec#52 for more information. |
@thenik I do not use windows because I use ubuntu 22.04 in the client. Here is parapeters that I use for running RDP session form ubuntu (you can find that rfx is enabled ). |
If you've got RFX enabled, that's the best you can do at the moment. I'm assuming you're using the Xorg backend(?) |
@matt335672 not sure =) here is of list of comands that I used for setup XRDP apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils |
When you log in automatically, xrdp will pick the first section you have in your xrdp.ini file to select the X server. The xrdp-sesman.log will tell you whether Xorg or Xvnc is being run for the session. |
log [20230116-05:06:58] [INFO ] Found X server running at /tmp/.X11-unix/X10 |
That's not got the info in it. When the session is created the log contains details of the X server. When you reconnect this isn't logged. |
Any ideas where to find that ? I can share server ip login pwd =) |
Log out of xrdp (rather than disconnecting) and log in again :-) |
yes, I found , looks like that it is XORG 20230119-11:04:28] [INFO ] Terminal Server Users group is disabled, allowing authentication |
It is indeed. If your client's running RFX, that's probably the best you'll get for now I'm afraid. You can try the Xvnc backend. That is a bit less sensitive to latency in general, but don't expect amazing improvements. |
Xvnc is a part of Xrdp ? How to try it? |
You won't get RFX support, but the latency should be a bit less of an issue. |
@thenik Sometime ago I made some packages for ubuntu 22.04 and 22.10 that are based on the gfx branch mentioned by @matt335672 here. |
Hello,
Many thanks for your great solution. It works really good and I like it!
But I got performance issue with xrdp on vps servers/ ubuntu.
I purchased 2 vps servers and tried to installed xrdp + xfce and got the same performance issues ,
1st server is slow enought, but 4 cores + 8RAM
2nd has higher CPU + 16 RAM,
they have good network, ping is ok, more over I had the same problems with xrdp in the past even on local servers.
I always got windows redrawing performarce issues.
server - os linux \ ubuntu 22.04 LTS
How I installed, it is really simple
apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils
apt install xrdp
_I tried to play with xrdp.ini ,
yes it halped but without dramatic changes._
Client - ubuntu 22.04 via xfreerdp from console
I connect to server via xrdp from ubuntu
xfreerdp /v:ip:port -compression -wallpaper /w:1366 /u:user /f /p:pwd /rfx /gfx +glyph-cache /timeout:20000 /jpeg
I tried all variants (from my opinion) how to connect to xrdp server but they give worst results.
Comparison with windows server
When I install windows server on the same vpsI see RDP works nice and performance is OK,
it is possible to develop on that machine.
Comparison with ubuntu/nomachine
When I install nomachine I see that performance is similar to windows RDP (maybea little slower)
but it good and it is possible to work this way.
Question
What I do wrong with xrdp setup?
My Idea that maybe some codecs / drivers were not installed at vps server and it works so slow.
Any idea how to adjust performance?
The text was updated successfully, but these errors were encountered: