rdesktop
rdesktop
is an open-source command-line client for Microsoft's Remote Desktop Protocol (RDP). It allows Linux and Unix users to connect to and control Windows-based computers over a network, making it useful for remote administration, technical support, and accessing Windows applications or desktops from a non-Windows environment.
Purpose
Remote Desktop Access: Connect to Windows terminal servers or desktops remotely.
Cross-Platform Compatibility: Enables Linux and Unix users to interact with Windows environments using RDP.
Command-Line Flexibility: Offers a range of options for tailoring connection settings such as screen resolution, color depth, authentication, and more.
Basic Syntax
server
: The hostname or IP address of the Windows machine to connect to.port
: (Optional) The port number for the RDP service (default is 3389).
Common Options
-u <username>
: Specify the username for login.-p <password>
: Specify the password for login (use with caution as it may be visible in process listings).-g <geometry>
: Set the screen resolution. Acceptable formats include<width>x<height>
, e.g.,1024x768
.-a <depth>
: Specify the color depth (in bits). Common values are8
,16
, or32
.-f
: Launch in full-screen mode.-k <layout>
: Set the keyboard layout (e.g.,en-us
,fr
, etc.).-d <domain>
: Specify the domain for authentication (useful in corporate environments).-r sound:local
: Redirect sound from the remote machine to the local machine.-r clipboard:PRIMARYCLIPBOARD
: Enable clipboard sharing between the local and remote systems.
Examples
Basic Connection:
Connects to the Windows machine at
server.example.com
using default settings.Specify User and Domain:
Connects with the username
john_doe
in the domainMYDOMAIN
.Full-Screen with Custom Resolution:
Launches the connection in full-screen mode with a resolution of 1920x1080 pixels.
Connection with Specified Color Depth and Clipboard Redirection:
Connects using 16-bit color depth and enables clipboard sharing.
Conclusion
rdesktop
is a powerful tool for Linux and Unix users who need to access Windows systems remotely using RDP. Its extensive range of options allows users to customize connections for various requirements, such as screen resolution, authentication, and peripheral redirection. Whether for administrative tasks or everyday remote desktop use, rdesktop
offers a flexible solution for cross-platform connectivity.
Last updated