xfreerdp is a modern and feature-rich Remote Desktop Protocol (RDP) client for Linux. It supports various RDP features and provides additional flexibility.
yum install epel-releaseyum install freerdpxfreerdp /u:<username> /p:<password> /v:<server_address>Example:
xfreerdp /u:nikhil /p:7489 /v:192.168.95.144/u:โ Username/p:โ Password/v:โ Server address (IP or hostname)
xfreerdp /u:nikhil /p:7489 /v:192.168.95.144 +f+f: Launches in fullscreen mode
xfreerdp /u:nikhil /p:7489 /v:192.168.95.144 /size:1920x1080/size:<width>x<height>: Sets custom resolution
xfreerdp /u:nikhil /p:7489 /v:192.168.95.144 /drive:/home/nikhil/Documents/drive:<local_path>: Redirects local directory to remote session
xfreerdp /u:nikhil /p:7489 /v:192.168.95.144 +clipboard+clipboard: Enables copy-paste between local and remote
xfreerdp /u:nikhil /p:7489 /v:192.168.95.144 +audio+audio: Redirects remote audio to local machine
xfreerdp /u:nikhil /p:7489 /v:192.168.95.144 +usb+usb: Enables USB device redirection
xfreerdp /u:nikhil /p:7489 /v:192.168.95.144 /sec:rdp/sec:rdp: Uses legacy RDP security (not TLS)
xfreerdp /u:nikhil /p:7489 /v:192.168.95.144 +tls+tls: Enables TLS-based secure connection
Fullscreen with Custom Resolution:
xfreerdp /u:nikhil /p:7489 /v:192.168.95.144 +f /size:1920x1080Redirect Clipboard and Audio:
xfreerdp /u:nikhil /p:7489 /v:192.168.95.144 +clipboard +audioRedirect Local Drive (Documents):
xfreerdp /u:nikhil /p:7489 /v:192.168.95.144 /drive:/home/nikhil/DocumentsDisable NLA and Use RDP Security:
xfreerdp /u:nikhil /p:7489 /v:192.168.95.144 /sec:rdp| Option | Description | Example Command |
|---|---|---|
+f |
Fullscreen Mode | xfreerdp /u:rahul /p:123 /v:192.168.1.61 +f |
/size: |
Custom Resolution | xfreerdp /u:rahul /p:123 /v:192.168.1.61 /size:1920x1080 |
+clipboard |
Clipboard Redirection | xfreerdp /u:rahul /p:123 /v:192.168.1.61 +clipboard |
+audio |
Audio Redirection | xfreerdp /u:rahul /p:123 /v:192.168.1.61 +audio |
/drive: |
Drive Redirection | xfreerdp /u:rahul /p:123 /v:192.168.1.61 /drive:/home/rahul/Documents |
/sec:rdp |
Disable TLS (Use RDP) | xfreerdp /u:rahul /p:123 /v:192.168.1.61 /sec:rdp |
+usb |
USB Device Redirection | xfreerdp /u:rahul /p:123 /v:192.168.1.61 +usb |
