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/Options | Description |
|---|---|
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). |
/f | Starts the session in full-screen mode. |
/size:<width>x<height> | Specifies the screen resolution (e.g., /size:1920x1080). |
/multimon | Enables multi-monitor support for the session. |
/audio | Redirects 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). |
/clipboard | Enables clipboard sharing between the local and remote systems. |
/cert-ignore | Ignores certificate warnings (useful for self-signed certificates). |
/smartcard | Enables smart card redirection. |
/window | Starts the session in windowed mode instead of full-screen. |
/noclipboard | Disables clipboard redirection. |
/rfx | Enables RemoteFX for better performance and multimedia support. |
/auth | Forces 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-resolution | Automatic resizing of the session resolution as the window size changes. |