Prerequisites
- FreeRDP installed on your system. If you haven’t installed it yet, see the Installation guide.
- A Windows machine (or any host running an RDP server such as xrdp or gnome-remote-desktop) with Remote Desktop enabled.
- The hostname or IP address, a username, and password for the remote machine.
Connect with xfreerdp
1
Open a terminal
Open a terminal on your Linux or macOS machine.
2
Run xfreerdp with your connection details
Replace A window will open showing the remote desktop. If the server presents an unknown certificate, xfreerdp will prompt you to accept or reject it.
hostname, username, and password with your actual values:3
Accept the server certificate (first connection)
On your first connection to a host, xfreerdp displays a certificate fingerprint and asks whether to trust it:
- Enter
Yto trust and remember the certificate permanently. - Enter
Tto trust it for this session only. - Enter
Nto abort the connection.
Common connection flags
Example: set resolution and enable clipboard
Example: fullscreen with audio
Example: redirect a local drive
Example: connect on a non-default port
Example: domain user
Example: use a saved .rdp file
xfreerdp keyboard shortcuts
Once connected, the following keyboard shortcuts are available inside the xfreerdp window:xfreerdp vs sdl-freerdp
FreeRDP ships two graphical clients. Both accept the same command-line flags.- xfreerdp
- sdl-freerdp
xfreerdp is the X11 client. It runs on any Linux desktop that provides an X display (including XWayland). It is the most widely used FreeRDP client and is available in most Linux distribution package repositories.
Next steps
Installation
Install pre-built packages for Linux, macOS, Windows, Android, and iOS.
Building from source
Compile FreeRDP yourself with custom options.
