Main features
- RDP clients for Linux (X11, Wayland and SDL), Windows and macOS
- NLA, TLS, Kerberos, smart card and Azure AD authentication
- Remote Desktop Gateway, including HTTP and WebSocket transports
- H.264 (AVC420 and AVC444) and RemoteFX graphics
- Multi-monitor, scaling and dynamic resolution
- RemoteApp windows for single applications
- Drive, printer, smart card, USB, serial and audio redirection
- Shadow server for sharing an existing desktop
- RDP proxy server
- Libraries used by Apache Guacamole and GNOME Remote Desktop
What FreeRDP does
FreeRDP is an open source implementation of the Remote Desktop Protocol (RDP), the protocol built into Windows, written from Microsoft’s published Open Specifications. For most people it is the RDP client on Linux: the xfreerdp, wlfreerdp and sdl-freerdp programs connect to Windows PCs, Windows Server and terminal servers, and support the features corporate environments rely on, such as Network Level Authentication, Kerberos, smart cards and Remote Desktop Gateway.
It is also a set of libraries. Other projects use it rather than writing their own RDP code: Apache Guacamole needs FreeRDP 2.0 or later for its RDP support, and GNOME Remote Desktop, GNOME’s built-in RDP server, uses it too. If you use RDP on Linux, FreeRDP is probably involved somewhere.
How connections work
The client connects directly to an RDP host on TCP port 3389, or through a Remote Desktop Gateway. Gateway support covers the older RPC transport, HTTP with WebSocket, and Azure Resource Manager-based setups, with usernames and passwords, access tokens or OAuth2 bearer tokens. Security can be negotiated or forced to standard RDP, TLS, NLA, extended NLA or Azure AD. FreeRDP has no NAT traversal of its own, so hosts outside your network need a gateway or a VPN.
On the server side, the repository includes a shadow server that shares an existing desktop over RDP (with X11, Windows and macOS back ends) and an RDP proxy that sits between clients and servers to relay and filter connections.
Graphics and redirection
FreeRDP supports the modern graphics pipeline (GFX) with progressive and RemoteFX codecs and, when built with it, H.264 in AVC420 and AVC444 modes for sharper text. Release 3.33.1 added Apple VideoToolbox H.264 encoding and decoding on macOS. Multiple monitors, spanning, scaling and dynamic resolution work as expected, and RemoteApp lets single Windows applications appear as local windows. You can redirect drives, printers, smart cards, USB devices, serial and parallel ports, the clipboard, sound and the microphone, each switched on per connection.
Security
Authentication options include NTLM, Kerberos, smart cards and Azure AD. The client checks server certificates and asks before trusting a new one; 3.33.1 added support for newer certificate types, including Ed25519 and post-quantum ML-DSA and SLH-DSA signatures. Because FreeRDP parses complex data from remote servers, security fixes are frequent: the 3.33.1 announcement lists eleven advisories. Install updates promptly, especially for clients that connect to untrusted servers.
Platforms and Wayland
FreeRDP has clients for X11, Wayland (wlfreerdp) and SDL, plus Windows and macOS clients, and the continuous builds cover Linux, Windows, macOS, FreeBSD and ARM, PowerPC and RISC-V. Running the client on a Wayland desktop is supported through the Wayland and SDL clients. Sharing a Linux Wayland desktop over RDP is a server-side matter: GNOME Remote Desktop, which builds on FreeRDP, handles that for GNOME. The repository also contains Android and iOS client code, which continues to receive fixes.
Installing FreeRDP
Most Linux distributions package FreeRDP 3; install the client package and run, for example, xfreerdp /v:host /u:user or the SDL client. Source releases are published at pub.freerdp.com, and the wiki documents compiling. Graphical connection managers are separate projects that build on these libraries.
Limitations
FreeRDP’s own clients are command-line programs with many options, aimed at administrators. It connects only to RDP servers you can reach, and does not help with remote support across NAT. The volume of security fixes means it needs regular updates.
Who it suits
FreeRDP suits Linux and macOS users and administrators who connect to Windows machines, terminal servers or RD Gateways, and developers who need an RDP library. To offer RDP access to a Linux machine, pair it with xrdp; for browser access to RDP hosts, use Apache Guacamole. See the remote desktop guide for how the protocols compare.
Technical details
Built with
- C
GitHub topics
- android
- c
- freerdp
- library
- rdp
- rdp-client
- rdp-connection
- remote-desktop
- sdl
- wayland-client
- x11
Reviewed by the OpenSourcePicks editors from the project's repository and documentation. Something out of date? Tell us.