News for hackers. Stuff that matters.
Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by nailer on Friday March 21, 2025 @12:24PM (#43437596)
Fedora recently ditched VNC support in their installer for RDP. https://docs.fedoraproject.org/en-US/fedora-server/installat... (which may be a Wayland think, I just know more about Fedora than general Linux distros).

RDP seems to have taken the zeitgeist in the open source world.

Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by IshKebab on Friday March 21, 2025 @12:32PM (#43437716)
It is a lot more advanced than VNC, and the open source world doesn't seem to have come up with any alternatives.
Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by rrdharan on Friday March 21, 2025 @01:56PM (#43438984)
I don't quite understand what happened to SPICE. I know Red Hat deprecated it, and I can't tell if it was ever fully opensourced or not?

https://www.spice-space.org/developers.html

Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by spookie on Friday March 21, 2025 @03:02PM (#43439704)
My theory is Wayland happened. As SPICE doesn't work that well through it. I would assume it's another case of a "niche" the Wayland protocol didn't account for, however.
Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by jeroenhd on Friday March 21, 2025 @03:06PM (#43439756)
Interesting theory. Any idea on why SPICE wouldn't work well through it? I don't have recall running into any issues with it.

A more Wayland-oriented remote desktop protocol would probably make for an even better VNC alternative, but I don't really know why SPICE never got the uptake it deserved.

Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by timewizard on Friday March 21, 2025 @03:54PM (#43440162)
Wayland. Move slow and break everything.
Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by Nextgrid on Saturday March 22, 2025 @08:35AM (#43445305)
Wasn't aware SPICE was deprecated. However, I think it addresses a different use-case than RDP: SPICE is primarily designed for accessing virtual machines by connecting to their hypervisor. Thus it's designed to operate without VM guest awareness nor cooperation, going purely from a framebuffer.

This approach is fundamentally limited in terms of performance/responsiveness, as you're ultimately just trying to "guess" what's happening and apply best-effort techniques to speed things up, falling back to just using a video stream.

A proper remote desktop solution like RDP on Windows works in cooperation with the OS's GUI subsystem in a way that makes the RDP server aware of the GUI events, so it doesn't have to guess, and can offload compositing and some 2D operations directly to the client, rather than sending rendered bitmaps.

Thus it didn't catch on because it focuses on a narrow use-case nobody should be using except in emergency/break-glass situations (you should instead be remoting into the VM directly, for reasons explained above), and even for such situations, it didn't offer anything substantial over VNC, except everyone and their dog has a VNC client by now, but good luck finding a functional SPICE client for anything but Linux.

Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by InsideOutSanta on Friday March 21, 2025 @12:37PM (#43437793)
RustDesk is intended to be a TeamViewer alternative but works quite well as a simple remote desktop application:

https://github.com/rustdesk/rustdesk

Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by raphinou on Friday March 21, 2025 @12:53PM (#43438046)
I thought to have seen some negative comments about its security, anyone knowing more about it?
Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by Arrowmaster on Friday March 21, 2025 @01:53PM (#43438941)
They installed a root certificate on windows computers that could have been used to MITM all traffic.

I personally had issues with the project years before that when I tried to install their Linux .deb and they ran `pip install` as root in the pre install script inside the .deb. That caused so much havoc to clean up I was pissed at them for years. Now that idiocy is blocked by default in current versions of pip.

Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by IshKebab on Friday March 21, 2025 @03:25PM (#43439943)
Yeah it just seemed like a slightly suss project to me. I did use it initially but uninstalled it after the Chinese root certificate incident.

I wonder if anyone has forked it...

Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by InsideOutSanta on Friday March 21, 2025 @01:02PM (#43438189)
I haven't heard anything negative about it, and I can only find one CVE:

https://www.cvedetails.com/cve/CVE-2024-25140/

Personally, I'm not exposing my installations to the Internet, so I feel relatively secure regardless.

Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by j16sdiz on Friday March 21, 2025 @12:39PM (#43437823)
I thought RDP is highly coupled with GDI. How could it translate native wayland to GDI?
Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by awakecoding on Friday March 21, 2025 @02:15PM (#43439195)
The RDP GDI messages are from RDP6, graphical messages have changed many times over in the versions of RDP that followed. Would you be surprised to learn that WSLg uses a FreeRDP server hooked to a Wayland compositor running in the Linux guest, and that the RDP client in the Windows host is MSRDC in a special RemoteApp mode? In theory someone could build a similar RDP server using IronRDP
Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by p_ing on Friday March 21, 2025 @02:06PM (#43439087)
That is one of the extensions, in theory others could be built. RemoteFX is an extension as is the (more normal today) Desktop Composition Extension.

https://learn.microsoft.com/en-us/openspecs/windows_protocol...

Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by awakecoding on Friday March 21, 2025 @02:12PM (#43439163)
The Desktop Composition extension was never used in practice, check the date on the spec - the last update was in 2017. I don't know the whole story behind the scenes but the feature got pulled early.
Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by tracker1 on Friday March 21, 2025 @02:35PM (#43439433)
Possibly a patent threat.
Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by johnisgood on Friday March 21, 2025 @04:55PM (#43440731)
Well, I personally never had any issues with X11vnc ever since its existence. I have used it a long time ago though.
Re:IronRDP: a Rust implementation of Microsoft's RDP protocol by int_19h on Friday March 21, 2025 @05:58PM (#43441216)
This probably has something to do with Gnome on Wayland having RDP server support as a standard feature:

https://gitlab.gnome.org/GNOME/gnome-remote-desktop