Skip to main content

xFreeRDP

RDP (Remote Desktop Protocol) is a Microsoft protocol that allows users to connect to and control a remote computer's graphical interface. It enables interaction with the desktop, file transfer, and resource sharing between local and remote systems. RDP typically uses TCP port 3389 and ensures secure communication through encryption.

xFreeRDP

xFreeRDP is an open-source, cross-platform RDP client for accessing remote Windows desktops and servers. It supports features like encryption, smart card redirection, and remote audio. xFreeRDP is part of the FreeRDP project, offering high performance and extensibility across Linux, macOS, and Windows.

Installation of xFreeRDP

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install com.freerdp.FreeRDP

Cheat sheet

Commands/OptionsDescription
xfreerdp [options] <hostname>Connects to a remote system using RDP. Replace <hostname> with the IP or domain.
/u:<username>Specifies the username for authentication.
/p:<password>Specifies the password for authentication.
/v:<hostname>:<port>Specifies the remote server's hostname and optional port (default: 3389).
/fStarts the session in full-screen mode.
/size:<width>x<height>Specifies the screen resolution (e.g., /size:1920x1080).
/multimonEnables multi-monitor support for the session.
/audioRedirects audio from the remote system to the local system.
/drive:<name>,<path>Redirects a local directory to the remote system (e.g., /drive:share,/home/user).
/clipboardEnables clipboard sharing between the local and remote systems.
/cert-ignoreIgnores certificate warnings (useful for self-signed certificates).
/smartcardEnables smart card redirection.
/windowStarts the session in windowed mode instead of full-screen.
/noclipboardDisables clipboard redirection.
/rfxEnables RemoteFX for better performance and multimedia support.
/authForces authentication mode (e.g., password or smart card).
/domain:<domain>Specifies the domain for user authentication.
/log-level:<level>Sets the logging level (e.g., /log-level:DEBUG).
+dynamic-resolutionAutomatic resizing of the session resolution as the window size changes.