5 ms·
As a protocol RDP is way ahead of VNC. The latest versions support H264 video encoding and AAC audio. With a beefy Windows server and FreeRDP as a client, I c
by jacob019 4y ago
As a protocol RDP is way ahead of VNC. The latest versions support H264 video encoding and AAC audio. With a beefy Windows server and FreeRDP as a client, I can stream 1080P YouTube from a remote desktop over the Internet at 60FPS. RFX progressive encoding isn't bad either. The trouble with FreeRDP, at least the older versions, is that you have to explicitly enable these features. I tested VNC in this setup, and it was unusable, about 1s frame rate. Something about this multi-monitor setup just doesn't play well with the VNC software that I tested--x11vnc server and tigervnc client, and I have used those often in other scenarios.
- iforgotpassword 4y agoProtocol-wise I'm aware, but it seems a better fit technically for windows than x11. Making a performant client for linux should be doable, but creating a server that takes advantage of all the protocol features sounds like a much greater effort. And yes, it seems in general something was wrong in your vnc setup. I was doing fullhd back then and typing or moving smaller Windows was near instant, maybe 100ms delay if the window was larger or the screen busy. Even video playback in YouTube was smooth (with occasionally dropped frames) as long as I kept it at the default size, which was surprising. On another note, a few days ago for reasons I had to access a machine at work running xfce. Used VNC via SSH tunnel and didn't expect too much, since last I checked the protocol was very sensitive to latency, but it was a pretty smooth experience still. Maybe those tigervnc folks are still busy tweaking it. Will try freerdp next time :-)
- jacob019 4y agoFreeRDP3 supports H264 video encoding. FreeRDP2 has RemoteFX (non-progressive). Microsoft is using a customized libfreerdp, weston, and pulseaudio stack in WSL, to allow Linux apps to run in Windows. Xrdp supports H264 and audio. Performant Linux RDP servers and client components are available now, but you have to compile from source. Nothing wrong with VNC for remote maintenance, I still use it for that too.
- rcarmo 4y agoEr, no. You just need to install xorgxrdp on modern Fedora and Ubuntu. On Fedora 37, you can also install xorgxrdp-glamor for GPU acceleration. Only thing I had to add was the pulse audio plugin, but I think that’s being packaged now.
- any1 4y agohttps://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#open-h-264-encoding https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rs... I feel that the VNC protocol gets a bad reputation because of bad implementations. There's really nothing in the protocol itself that keeps it back. What I like about VNC is that you can actually read the RFC and get fairly a good understanding of it in less than a day. I'm not sure if the same can be said for RDP. Microsoft has this page where you can access a bunch of PDF documents that describe RDP in some sense, but I've no idea where I would even start and/or what's even relevant for any given problem that you might want to solve.
- pizza234 4y agoWhen I had to choose my remote desktop solution, I've tried all the FOSS ones, and they're been a disaster, without any exception. I've tried I think a couple of VNC-based solutions (since I've tried the most common, TigerVNC was very likely one of them), and they were extremely slow - I can't remember how fast, but something like 1/2 FPS. This left me very perplexed, because on a 10 Mbit network, with 25-ms ping, a protocol must be very badly designed (or, to be more precise, very antiquated) to have such bad performance. So IMO, the bad reputation is justified. Other FOSS solutions weren't better, in one way or another. The other one that worked out of the box was X2Go (based on NX 3), which was still very slow (and it seems to be abandoned nowadays). Sadly, I had to move to a closed-source solution. Closed source solutions are so fast that sometimes I forgot that I'm on a remote machine. I'm very puzzled why there is such a large gap between open and closed source solutions.
- andrea76 4y agoWho is this closed-source solution?
- pizza234 4y agoNomachine. At least some commercial remote desktop solutions are very strict about business usage - they don't allow it at all (last time I've checked, Teamviewer was so). Nomachine is a bit looser: they allow occasion business usage, as long as it's not the core of the remote workflow.
- ndsipa_pomu 4y agoAs a modern alternative, KasmVNC uses webp for encoding. The issue with H264 is that it needs to send the whole image every so often which is useful when seeking in a video feed, but pretty much useless for a live only desktop feed. Edit: just seen that adding H264 is on the roadmap for KasmVNC
- mistrial9 4y agoam I understanding this? you say some stable tech is "unusable" because it does not do local video streaming at 60fps? Secondly none of the computers involved for me have two monitors attached..
- jacob019 4y agoNot at all. I use VNC as well. It's great for remote administration. In my testing VNC was literally unusable with this virtual monitor setup, some kind of bug reading the headless display tanks the performance beyond practicality.