Remotely Logging In to a Windows ECS (Using VNC)

Scenarios

This section describes how to use VNC provided on the management console to log in to an ECS. This function applies to emergency O&M. In other scenarios, you are advised to log in to ECSs using SSH or MSTSC.

Constraints

  • The remote login function is implemented using customized ports. Therefore, before attempting to log in remotely, ensure that the port to be used is not blocked by the firewall. For example, if the remote login link is xxx:8002, ensure that port 8002 is not blocked by the firewall.

  • If the client OS uses a local proxy and the firewall port cannot be configured on the local proxy, disable the proxy mode and then try logging in remotely.

  • Certain G-series ECSs do not support remote login from the console. If you need to remotely log in to the ECSs, install the VNC server on them. For details, see GPU-accelerated ECSs. You are suggested to log in to the ECSs using MSTSC.

Login Notes

  1. When you log in to the ECS using VNC, four types of keyboards will be used. These are described in Table 1.

    Table 1 Keyboard types

    Keyboard Type

    Description

    Keyboard Language

    Physical keyboard

    Used by the terminal and allows terminal data input.

    Selected by users locally.

    Input method keyboard on the terminal

    Used for logging in to the management console from a terminal, such as a computer. The keyboard input method of the terminal must comply with the physical keyboard language type. In this way, the entered data can be correctly transferred from the physical keyboard to the VNC client.

    Selected by users locally.

    VNC keyboard

    Used for VNC logins. The VNC keyboard input method must comply with the physical keyboard language type. In this way, the entered data can be correctly transferred from the VNC client to the ECS OS.

    Note

    The English keyboard is used by default. The system also supports other keyboard languages.

    Can be configured through the management console.

    For instructions about how to select a VNC keyboard language, see Log In to a Windows ECS Using an English Keyboard and Log In to a Windows ECS Using a Non-English Keyboard.

    ECS OS keyboard

    Input method keyboard configured in the ECS OS. Ensure that this input method complies with the physical keyboard language type for correct response to the entered data transferred from the VNC client.

    Note

    • The default OS keyboard language of an ECS created using a public image is English. For additional information, see Public Images Introduction.

    • The OS keyboard language of an ECS created using a private image is customized.

    Configured by users locally.

    For instructions about how to change an ECS OS keyboard language, see Changing the OS Keyboard Language.

  2. When you log in to the ECS using VNC, ensure that your configured keyboard language is correct.

    The entered data is as expected only if the input method keyboard on the terminal, the VNC keyboard, and the ECS OS keyboard languages are the same as the physical keyboard language. For details about language configuration in the four types of keyboards, see Table 2.

    Table 2 Language configuration in the four types of keyboards

    Physical Keyboard

    Input Method Keyboard on the Terminal

    VNC Keyboard

    ECS OS Keyboard

    Permission

    English

    English

    English

    English

    Yes

    German

    No

    German

    English

    No

    German

    No

    German

    English

    English

    No

    German

    No

    German

    English

    No

    German

    No

    German

    English

    English

    English

    No

    German

    No

    German

    English

    No

    German

    No

    German

    English

    English

    No

    German

    No

    German

    English

    No

    German

    Yes

  3. If the password used when you create the ECS is entered using the English keyboard, you must use the English keyboard to enter the password when logging in to the ECS later.

Log In to a Windows ECS Using an English Keyboard

  1. Log in to the management console.

  2. Click image1 in the upper left corner and select your region and project.

  3. Under Computing, click Elastic Cloud Server.

  4. Obtain the password for logging in to the ECS.

    Before logging in to the ECS, you must have the login password.

    For instructions about how to obtain the password for logging in to a Windows ECS, see Obtaining the Password for Logging In to a Windows ECS.

  5. In the search box above the upper right corner of the ECS list, enter the ECS name and click image2 for search.

  6. Locate the row containing the ECS and click Remote Login in the Operation column.

  7. In the displayed Configure Keyboard Layout for Remote Login dialog box, select the English keyboard.

    **Figure 1** Keyboard layout configuration

    Figure 1 Keyboard layout configuration

  8. Click Remote Login.

  9. (Optional) If you have changed the system language, in the dialog box that is displayed, click Remote Login.

    **Figure 2** Remote Login

    Figure 2 Remote Login

  10. (Optional) When the system displays "Press CTRL+ALT+DELETE to log on", click Send CtrlAltDel in the upper part of the remote login page to log in to the ECS.

    **Figure 3** Send CtrlAltDel

    Figure 3 Send CtrlAltDel

  11. (Optional) If you need your cursor to be displayed on the remote login page, click Local Cursor.

    **Figure 4** Local Cursor

    Figure 4 Local Cursor

  12. Enter the ECS password as prompted.

Log In to a Windows ECS Using a Non-English Keyboard

  1. Log in to the management console.

  2. Click image3 in the upper left corner and select your region and project.

  3. Under Computing, click Elastic Cloud Server.

  4. Obtain the password for logging in to the ECS.

    Before logging in to the ECS, you must have the login password.

    For instructions about how to obtain the password for logging in to a Windows ECS, see Obtaining the Password for Logging In to a Windows ECS.

  5. In the search box above the upper right corner of the ECS list, enter the ECS name, IP address, or ID, and click image4 for search.

  6. Locate the row containing the ECS and click Remote Login in the Operation column.

  7. In the displayed Configure Keyboard Layout for Remote Login dialog box, select the keyboard that suits your language.

    • When logging in to the ECS using VNC for the first time, select the default English keyboard. The ECS OS uses the English keyboard by default.

    • If you have changed the keyboard language of the ECS OS, select the keyboard language to which you have changed.

    **Figure 5** Keyboard layout configuration

    Figure 5 Keyboard layout configuration

  1. Click Remote Login.

  2. (Optional) If you have changed the system language, in the dialog box that is displayed, click Remote Login.

    **Figure 6** Remote Login

    Figure 6 Remote Login

  3. (Optional) When the system displays "Press CTRL+ALT+DELETE to log on", click Send CtrlAltDel in the upper part of the remote login page to log in to the ECS.

    **Figure 7** Send CtrlAltDel

    Figure 7 Send CtrlAltDel

  4. (Optional) If you need your cursor to be displayed on the remote login page, click Local Cursor.

    **Figure 8** Local Cursor

    Figure 8 Local Cursor

  5. Enter the ECS password as prompted.

    • When logging in to the ECS using VNC for the first time, use the English keyboard to enter the password. After you have logged in to the ECS, see Changing the OS Keyboard Language to change the keyboard language of the ECS OS. You can then select the keyboard language and enter the password the next time you log in.

    • If you have changed the keyboard language of the ECS OS, ensure that the keyboard language in use, the keyboard language selected in step 7, and the changed OS keyboard language are all the same.

Changing the OS Keyboard Language

Switch the input method or open the soft keyboard before entering characters. To do so, click the function menu icon and select soft keyboard and keyboard layout.

Configuration Example

Scenarios

If you attempt to log in to an ECS created using a public image for the first time, the languages of the four types of keyboards before the configuration are as follows (Before configuration row in Table 3):

  • Physical keyboard: German

  • Input method keyboard on the terminal: English

  • VNC keyboard: English

  • ECS OS keyboard: English

In this case, you must change the languages of the other three types of keyboards to the same language as the physical keyboard for expected data entering. For details, see the Solution 1 row in Table 3.

Table 3 Languages in the four types of keyboards

-

Physical Keyboard

Input Method Keyboard on the Terminal

VNC Keyboard

ECS OS Keyboard

Before configuration

German

English

English

English

Solution 1

German

German

German

German

Solution 2

English

English

English

English

Procedure

  1. Locally configure the language, for example, German, in the input method keyboard on the terminal.

  2. Set the VNC keyboard language to English.

    Note

    When you log in to the ECS using VNC for the first time, the default ECS OS keyboard language is English. Therefore, you must set the VNC keyboard language to English.

  3. Log in to the ECS and change the ECS OS language to German.

    For details, see Changing the OS Keyboard Language.

  4. Change the VNC keyboard language to German.

    For details, see Log In to a Windows ECS Using a Non-English Keyboard.

To set the languages on the four types of keyboards to all be the same, repeat steps 1 to 4.

Note

During the configuration, if English characters cannot be entered using the current physical keyboard, use the English soft keyboard to modify the configuration described in the Solution 2 row of Table 3. In such a case, you only need to use the English soft keyboard to enter characters.

  • To enable the Windows English soft keyboard, choose Start > Run, enter osk, and press Enter.

  • The method of enabling the Linux English soft keyboard varies depending on the OS version and is not described in this document.