• Elastic Cloud Server

ecs
  1. Help Center
  2. Elastic Cloud Server
  3. User Guide
  4. ECS Logins
  5. Logging In to a Linux ECS
  6. Login Using VNC

Login Using VNC

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.

For instructions about how to copy and paste data on VNC pages after the ECS login, see section Follow-up Procedure.

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.

Login Notes

  1. When you log in to the ECS using VNC, four types of keyboards will be used, as 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 using the management console.

    For instructions about how to select a VNC keyboard language, see sections Logging In to an ECS Using an English Keyboard and Logging In to an 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 section 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

    Supported or Not

    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.

Logging In to an ECS Using an English Keyboard

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Under Computing, click Elastic Cloud Server.
  4. In the search box above the upper right corner of the ECS list, enter the ECS name and click .
  5. Locate the row containing the ECS and click Remote Login in the Operation column.
  6. In the displayed Configure Keyboard Layout for Remote Login dialog box, select the English keyboard.
    Figure 1 Configure Keyboard Layout for Remote Login
  7. Click Remote Login.
  8. (Optional) If you have changed the system language, in the dialog box that is displayed (as shown in Figure 2), click Start Remote Login.
    Figure 2 Start Remote Login
  9. (Optional) If the system displays "Press CTRL+ALT+DELETE to log on", click Send CtrlAltDel in the upper right corner of the remote login page to log in to the ECS.
    Figure 3 Click Send CtrlAltDel.
  10. (Optional) Display the cursor in the remote login panel. Perform this step if the cursor is not displayed after you remotely log in to a G1 ECS. To do so, click Local Cursor in the upper right corner of the remote login panel, as shown in Figure 4.
    Figure 4 Local Cursor
  11. Enter the ECS password as prompted.

Logging In to an ECS Using a Non-English Keyboard

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Under Computing, click Elastic Cloud Server.
  4. In the search box above the upper right corner of the ECS list, enter the ECS name, IP address, or ID, and click .
  5. Locate the row containing the ECS and click Remote Login in the Operation column.
  6. In the displayed Configure Keyboard Layout for Remote Login dialog box, select the English keyboard.
    Figure 5 Configure Keyboard Layout for Remote Login
  1. Click Remote Login.
  2. (Optional) If you have changed the system language, in the dialog box that is displayed (as shown in Figure 6), click Start Remote Login.
    Figure 6 Start Remote Login
  3. (Optional) If the system displays "Press CTRL+ALT+DELETE to log on", click Send CtrlAltDel in the upper right corner of the remote login page to log in to the ECS.
    Figure 7 Click Send CtrlAltDel.
  4. (Optional) Display the cursor in the remote login panel. Perform this step if the cursor is not displayed after you remotely log in to a G1 ECS. To do so, click Local Cursor in the upper right corner of the remote login panel, as shown in Figure 8.
    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 section 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 6, and the changed OS keyboard language are all the same.

Changing the OS Keyboard Language

If the ECS is running Linux, run the following command:

loadkeys keymapfile

The keymapfile parameter indicates the name of the file containing the mappings between the keys and displayed characters.

For example, if the name of a German keyboard mapping file is de, run the loadkeys de command.

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 section Changing the OS Keyboard Language.

  4. Change the VNC keyboard language to German.

    For details, see section Logging In to an ECS Using a Non-English Keyboard.

To set the languages on the four types of keyboards to all be the same, perform 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.

Follow-up Procedure

Local commands can be copied to an ECS. To do so, perform the following operations:

  1. Log in to the ECS using VNC.
  2. Click Input Commands in the upper right corner of the page.
    Figure 9 Input Commands
  3. Press Ctrl+C to copy data from the local computer.
  4. Press Ctrl+V to paste the local data to the Copy Commands window.
  5. Click Send.

    Send the copied data to the CLI.

NOTE:

There is a low probability that data is lost when you use Input Commands on the VNC page of a GUI-based Linux ECS. This is because the number of ECS vCPUs fails to meet GUI requirements. In such a case, you are advised to send a maximum of 5 characters at a time or switch from GUI to CLI (also called text interface), and then use the command input function.