Linux command
rdesktop 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Connect to a remote computer
rdesktop -u [username] -p [password] [host:3389]
Connect in fullscreen mode
rdesktop -u [username] -p [password] -f [host]
Use a custom resolution
rdesktop -u [username] -p [password] -g [1920]x[1080] [host]
Connect with a domain account
rdesktop -u [username] -p [password] -d [domain] [host]
Use 16-bit color for faster performance with compression
rdesktop -u [username] -a 16 -z [host]
Redirect clipboard and sound
rdesktop -u [username] -r clipboard:PRIMARYCLIPBOARD -r sound:local [host]
说明
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.
参数
- -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: broadband, modem, or lan.
- -0
- Attach to the console session of the server.
- -T _title_
- Set the window title.
FAQ
What is the rdesktop command used for?
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.
How do I run a basic rdesktop example?
Run `rdesktop -u [username] -p [password] [host:3389]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -u _username_ do in rdesktop?
Username for authentication.