r/linuxadmin • u/Oopsiforgotmyoldacc • May 20 '26
Is there a better remote desktop for Linux?
Windows RDP works pretty well for me, but trying to use a Linux desktop over RDP has been painfully slow.
My home internet connection isn’t great, so I often work remotely through Windows RDP. At home, I’m using an Asus ProArt monitor with a 5120×2880 resolution as my main display. With Windows, it’s totally usable: resizing windows, moving things around, and normal desktop work all feel smooth enough.
For some tasks, though, I also need a Linux desktop. I set up an Ubuntu desktop machine in a data center and configured xrdp for remote access. The connection works, but the performance is really bad. Opening or resizing windows takes several seconds, screen redraws are slow, and the whole desktop feels too laggy to use properly.
Is this just a known xrdp/Linux issue, especially with very high-resolution displays? Or would I be better off using another remote desktop for Linux instead? (I’m not very familiar with Linux)
39
u/Cruffe May 20 '26
The most performant solution I have found is using Sunshine/Moonlight. It's actually good enough to stream games at high framerates and minimal latency, so it's plenty good enough for average remote desktop.
Someone even made moonlight-web-stream which can be used to stream your desktop straight into any modern browser, not needing to install anything extra on the client side. Still performs well enough to actually game on, so plenty good enough for the average remote desktop experience.
You can set the bitrate easily, but it's obviously gonna be at the expense of video quality as the stream is being encoded/compressed and lower bitrate means more compression.
32
u/cwk9 May 20 '26
I've been using RUSTDesk for local connections. Working great so far.
10
u/benhbell May 20 '26
i use nomachine
7
u/iggy_koopa May 20 '26
There have been some recent improvements in xrdp that help with performance. Make sure you're on at least version 0.10.0. it's still not quite up to speed with windows, but a lot closer.
14
u/skrugg May 20 '26
that high of a resoultion takes a lot of bandwidth. Any protocol is going to have high requirements for bandwidth due to the resolution. VNC tends to work better in Linux. No Machine works too. Whats your DE? If you use KDE it has a built in rdp that has worked pretty well for me in the past. I've had good luck with xrdp on x11 systems but haven't tried it much with wayland.
14
u/kaipee May 20 '26
NoMachine
10
u/bmwhocking May 20 '26
Try Parsec, it used a more modern & advanced algorithm than either xrdp or rdp.
http://parsec.app
5
u/HeyMerlin May 20 '26
Take a look at X2Go. It handles compression for bandwidth quite well. Also it has clients for Windows, Linux, and Mac.
5
u/presleydc May 20 '26
Thinlinc
9
u/dev_all_the_ops May 20 '26
NoMachine
4
u/bobj33 May 20 '26
I’ve been using X2go for over 10 years. Works great for me
3
u/Kangie May 20 '26
Are you using a modern xrdp with x264 and hw accel? You're pushing a _lot_ of pixels, it's not surprising that sw rendering would be slow.
3
u/guuuug May 20 '26
Nomachine. I love, especially for gou accellerated vm desktops
8
u/alexkey May 20 '26
1 - why do you need a desktop access on Linux in datacenter? That seems like a crutch unless you have a very specific workload that requires GUI (even then lots of workloads are available as headless like word/excel/pdf and browser). If you don’t need GUI specifically, SSH is the correct answer.
2 - if you still require GUI, RDP is MS designed proprietary protocol, xrdp is open source implementation of that protocol, but the protocol being owned by MS, any non official implementation will likely have issues/bugs due to lack of transparency into specifics of the protocol. That being said there are non-MS owned protocols, for example most common on Linux is VNC, there are a few tools that implement VNC, so pick whatever you need.
3 - OTOH, like others pointed it is also about settings, RDP uses a lot of bandwidth (VNC will too), because it basically streams graphics over network, think of steaming videos, higher resolution / bitrate requires more bandwidth. So reduce resolution, change colour depth to lower value etc.
2
u/WizeAdz May 20 '26
FastX is what we use. Commercial application, though.
2
u/MaxRK May 20 '26
This is going to sound old fashioned but, as long as the ping is low (20ms or less round trip) and good bandwidth, running remote tools through an ssh forwarded X session to my local x display is snappy and doesn't require any special setup. But depends what you're doing. I'm typyically running remote browsers for admin interfaces and remote native terminals, not graphics heavy. Hopefully from all the suggestions you find something that suits your use.
2
u/gusman21 May 20 '26
You never mentioned what host you are using. If you are using linux you can forward x-server through an ssh tunnel. ssh -X user@guest.com . If you are using windows, putty can also tunnel x-server but you'd need an x-server running locally. I typically use VcXsrv https://sourceforge.net/projects/vcxsrv/ . If you'd like a full feature all in one solution try/buy mobaxterm https://mobaxterm.mobatek.net/
2
u/Final_Excitement3526 May 21 '26
Rustdesk ftw
3
u/TheNetworkIsFrelled May 20 '26
VNC?
1
u/captain_222 May 20 '26
So is there any Linux servers that allow you uo connect with RDP client?
1
u/trisanachandler May 20 '26
I've had great luck with remmina and xrdp, but I had to make some config changes.
1
u/zalnaRs May 20 '26
Why didn't you use the GNOME's built-in rdp server?
1
u/420GB May 20 '26
Windows RDP has gotten a lot of (optional) optimizations over the years that, if both your server and client support them, make it really quite fast and nice to use.
It's possible xrdp only implements a "legacy" subset of the protocol and doesn't have the modern optimizations, but I have no inside knowledge just a guess.
For starters make sure you're not streaming your Linux desktop via TCP. RDP can use both TCP and UDP transport and UDP is of course much faster.
1
u/blu3tu3sday May 20 '26
At work we use Remote Desktop Manager. I would never use Windows RDP.
1
u/IT_Guy_2005 May 20 '26
https://devolutions.net/download-center/#rdm
1
u/SNappy_snot15 May 20 '26
Parsec is decent for gaming. internet bandwidth is the limit
1
u/raffaeleguidi May 20 '26
Apache guacamole is the way
1
u/geolaw May 20 '26
I like nomachine
I use it on my Mac mini and Linux boxes
Flatpak client on fedora for desktop access plus the app on my Android tablet
1
u/hff0 May 20 '26
Try selkies
1
u/AusAgentSmith May 21 '26
I vibecoded this myself; it works; but needs lots of polishing/ https://github.com/AusAgentSmith-org/remote-rs
1
u/rasithapr May 21 '26
Rustdesk or nomachine
1
u/Anxious-Science-9184 May 25 '26
Can you post your xrdp config? I want to see which h264 codec you're running and what your settings are.
1
u/fhfoerst Jun 02 '26
Are you using Wayland or Xorg? I am still on Xorg and a use xrdp to connect to the system console running x11vnc as backend (running with the locahost and initd options). So users can access sessions started locally from home/their office or start sessions remotely and acces them later locally. Just for context, my servers run analytical research equipment that is shared by around 30 users, and most are using Windows clients with Windows remote desktop, but I also sometimes use Turbo vnc or tiger vnc from my linux clients. That is where the wayland compatible remote desktop methods I have tried so far are failing short. Gnome remote desktop would require me to send a separate login name/ password combination to my 30+ users for login screen access, and even then a session started remotely can not be accessed locally.
1
u/nof May 20 '26
Export your apps to run on your local display server like *nix intended. Forwarding over ssh. You're stuck in the Windows paradigm.
0
u/raylui34 May 20 '26
I use remmina
-2
u/CoderDevo May 20 '26
Your video cable transmits 26 Gbit/s from your PC to that monitor.
Sounds like your home network is less than 1/10th of that.
You will need a lot of compression and have to turn off features such as desktop background (and font smoothing?) to improve performance.