LinuxCommandLibrary

rdesktop

TLDR

Connect to remote computer

$ rdesktop -u [username] -p [password] [host:3389]
copy
Connect in fullscreen
$ rdesktop -u [username] -p [password] -f [host]
copy
Use custom resolution
$ rdesktop -u [username] -p [password] -g [1920]x[1080] [host]
copy
Connect with domain account
$ rdesktop -u [username] -p [password] -d [domain] [host]
copy
Use 16-bit color (faster)
$ rdesktop -u [username] -p [password] -a 16 [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 - for prompt)
-d _domain_
Windows domain name
-f
Fullscreen mode (Ctrl+Alt+Enter to exit)
-g _WxH_
Desktop geometry (e.g., 1920x1080)
-a _bpp_
Color depth (8, 15, 16, 24, 32)
-k _layout_
Keyboard layout
-r _device_
Device redirection

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)

> TERMINAL_GEAR

Curated for the Linux community

nuphy Air75 V2 Portable 75% Mechanical Keyboard,Wireless Keyboard

nuphy Air75 V2 Portable 75% Mechanical Keyboard,Wireless Keyboard

$129.95
Raspberry Pi 5 8GB

Raspberry Pi 5 8GB

$134.50
Lenovo Gen 13 ThinkPad X1 Carbon Touchscreen Laptop with Intel Ultra 7 265U Processor, 14" WUXGA 100% sRGB, 32GB DDR5 RAM, 1TB NVMe Performance SSD, FHD+ IR+ RGB Camera, and Windows 11 Pro

Lenovo Gen 13 ThinkPad X1 Carbon Touchscreen Laptop with Intel Ultra 7 265U Processor, 14" WUXGA 100% sRGB, 32GB DDR5 RAM, 1TB NVMe Performance SSD, FHD+ IR+ RGB Camera, and Windows 11 Pro

$1,589.00
Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community

Raspberry Pi 5 8GB

Raspberry Pi 5 8GB

$134.50
nuphy Air75 V2 Portable 75% Mechanical Keyboard,Wireless Keyboard

nuphy Air75 V2 Portable 75% Mechanical Keyboard,Wireless Keyboard

$129.95
BOSGAME Mini PC N95, Intel 12th Mini Computers| 16GB DDR4 RAM| 512GB M.2 2280 SSD| 4K 60HZ Triple Displays by Dual HDMI+Type-C, 6W TDP Quiet Mini PC, WIFI5, BT 5.0 Office

BOSGAME Mini PC N95, Intel 12th Mini Computers| 16GB DDR4 RAM| 512GB M.2 2280 SSD| 4K 60HZ Triple Displays by Dual HDMI+Type-C, 6W TDP Quiet Mini PC, WIFI5, BT 5.0 Office

$239.99