LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

rdesktop

Open-source Remote Desktop Protocol (RDP) client

TLDR

Connect to a remote computer
$ rdesktop -u [username] -p [password] [host:3389]
copy
Connect in fullscreen mode
$ rdesktop -u [username] -p [password] -f [host]
copy
Use a custom resolution
$ rdesktop -u [username] -p [password] -g [1920]x[1080] [host]
copy
Connect with a domain account
$ rdesktop -u [username] -p [password] -d [domain] [host]
copy
Use 16-bit color for faster performance with compression
$ rdesktop -u [username] -a 16 -z [host]
copy
Redirect clipboard and sound
$ rdesktop -u [username] -r clipboard:PRIMARYCLIPBOARD -r sound:local [host]
copy

SYNOPSIS

rdesktop [-u user] [-p pass] [-d domain] [-f] [-g WxH] [-a bpp] host[:port]

DESCRIPTION

rdesktop is an open-source Remote Desktop Protocol (RDP) client for connecting to Windows machines. It allows Linux users to access Windows desktops and applications remotely.The tool supports various RDP features including clipboard sharing, sound redirection, and disk/printer mapping.

PARAMETERS

-u username

Username for authentication.
-p password
Password (use `-` to prompt interactively).
-d domain
Windows domain name.
-f
Fullscreen mode (Ctrl+Alt+Enter to toggle).
-g WxH
Desktop geometry (e.g., 1920x1080).
-a bpp
Color depth (8, 15, 16, 24, 32).
-k layout
Keyboard layout.
-r device
Device redirection (clipboard, sound, disk, printer).
-z
Enable compression of the RDP datastream.
-x experience
Bandwidth performance: b[roadband], m[odem], or l[an].
-0
Attach to the console session of the server.
-T title
Set the window title.

CAVEATS

Older tool, consider xfreerdp for newer RDP versions. Password on command line is insecure. Some modern RDP features unsupported. Network Level Authentication may require extra configuration.

HISTORY

rdesktop was one of the first open-source RDP clients, created to allow Linux users to connect to Windows Terminal Services. It reverse-engineered the RDP protocol before Microsoft published specifications.

SEE ALSO

xfreerdp(1), vinagre(1), remmina(1)

Copied to clipboard
Kai