This section describes how to log in to a Windows ECS from a Linux server.
An EIP is not required if you log in to an ECS through an intranet using MSTSC, for example, through VPN or Direct Connect.
To log in to a Windows ECS from a local Linux server, use a remote access tool, such as rdesktop.
rdesktop
If the message "command not found" is displayed, rdesktop is not installed. In such a case, obtain the rdesktop installation package at the official rdesktop website.
rdesktop -u username -p password -g resolution EIP
For example, run rdesktop -u administrator -p password -g 1024*720 121.xx.xx.xxx.
Parameter | Description |
|---|---|
-u | Username, which defaults to Administrator for Windows ECSs |
-p | Password for logging in to the Windows ECS |
-f | Full screen by default, which can be switched using Ctrl+Alt+Enter |
-g | Resolution, which uses an asterisk (*) to separate numbers. This parameter is optional. If it is not specified, the remote desktop is displayed in full screen by default, for example, 1024*720. |
EIP | EIP of the Windows ECS to be remotely logged in. Replace it with the EIP bound to your Windows ECS. |
For your first login, use VNC to log in and enable RDP for your ECS. Then, use MSTSC to log in. For details, see Logging In to a Windows ECS Using VNC. The System Properties dialog box is displayed. Figure 1 System Properties