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 custom 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.
- The French keyboard supports the following browsers: Google Chrome 55, Mozilla Firefox 50, and Internet Explorer 11.
If your browser version is too early to support the French keyboard, use both the soft keyboard and physical keyboard for data input.
- The password for logging in to a Linux ECS has been set.
If you have not set the password, log in to the ECS using an SSH key and then set the login password.
Login Notes
- 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 using the management console.
For instructions about how to select a VNC keyboard language, see 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.
- 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.
- 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
French
No
French
English
No
French
No
French
English
English
No
French
No
French
English
No
French
No
French
English
English
English
No
French
No
French
English
No
French
No
French
English
English
No
French
No
French
English
No
French
Yes
- 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
- Log in to the management console.
- Under Computing, click Elastic Cloud Server.
- Obtain the password for logging in to the ECS.
Before logging in to the ECS using VNC, 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.
- Do as follows to obtain the password for logging in to a Linux ECS created using a private image:
- If the image that is used to create the ECS meets the following conditions, the default image password is the login password:
- When Cloud-Init is installed, lock_passwd is set to false. This indicates that password authentication is enabled.
- passwd is set to the default image password.
- If password authentication is disabled or no default image password is set when Cloud-Init is installed, you must log in to the ECS by following the instructions provided in Logging In to a Linux ECS Using an SSH Key Pair. Then, you can set the ECS login password.
- If the image that is used to create the ECS meets the following conditions, the default image password is the login password:
- If a Linux ECS is created using a public image, you must log in to the ECS by following the instructions provided in Logging In to a Linux ECS Using an SSH Key Pair. Then, you can set the ECS login password.
- In the search box above the upper right corner of the ECS list, enter the ECS name and click for search.
- Locate the row containing the ECS and click Remote Login in the Operation column.
- In the Configure Keyboard Layout for Remote Login dialog box, select English keyboard.
- Click Remote Login.
- (Optional) If you have changed the system language, in the dialog box that is displayed, click Start Remote Login.
- (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 1 Send CtrlAltDel
- Enter the password obtained in 3.
Logging In to an ECS Using a Non-English Keyboard
- Log in to the management console.
- Under Computing, click Elastic Cloud Server.
- Obtain the password for logging in to the ECS.
Before logging in to the ECS using VNC, 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.
- Do as follows to obtain the password for logging in to a Linux ECS created using a private image:
- If the image that is used to create the ECS meets the following conditions, the default image password is the login password:
- When Cloud-Init is installed, lock_passwd is set to false. This indicates that password authentication is enabled.
- passwd is set to the default image password.
- If password authentication is disabled or no default image password is set when Cloud-Init is installed, you must log in to the ECS by following the instructions provided in Logging In to a Linux ECS Using an SSH Key Pair. Then, you can set the ECS login password.
- If the image that is used to create the ECS meets the following conditions, the default image password is the login password:
- If a Linux ECS is created using a public image, you must log in to the ECS by following the instructions provided in Logging In to a Linux ECS Using an SSH Key Pair. Then, you can set the ECS login password.
- In the search box above the upper right corner of the ECS list, enter the ECS name, IP address, or ID, and click for search.
- Locate the row containing the ECS and click Remote Login in the Operation column.
- In the Configure Keyboard Layout for Remote Login dialog box, select your desired keyboard 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.
- Click Remote Login.
- (Optional) If you have changed the system language, in the dialog box that is displayed, click Start Remote Login.
- (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 2 Send CtrlAltDel
- Enter the password obtained in 3.
- 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 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:
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 French keyboard mapping file is fr, run the loadkeys fr command.
Configuration Example
Scenarios
- Physical keyboard: French
- 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.
- |
Physical Keyboard |
Input Method Keyboard on the Terminal |
VNC Keyboard |
ECS OS Keyboard |
---|---|---|---|---|
Before configuration |
French |
English |
English |
English |
Solution 1 |
French |
French |
French |
French |
Solution 2 |
English |
English |
English |
English |
Procedure
- Locally configure the language, for example, French, in the input method keyboard on the terminal.
- Set the VNC keyboard language to English.
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.
- Log in to the ECS and change the ECS OS language to French.
For details, see Changing the OS Keyboard Language.
- Change the VNC keyboard language to French.
For details, see 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, repeat steps 1 to 4.
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.
- 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.
Related Links
For FAQs about VNC-based ECS logins, see the following links:
- What Browser Version Is Required to Remotely Log In to an ECS?
- Why Cannot I Use the French Keyboard to Enter Characters When I Log In to an ECS Using VNC?
- What Should I Do If the Page Does not Respond After I Log In to an ECS Using VNC and Do Not Perform Any Operation for a Long Period of Time?
- What Should I Do If I Cannot View Data After Logging In to an ECS Using VNC?
- Why Are Characters Entered Through VNC Still Incorrect After the Keyboard Language Is Switched?
- Why Does a Blank Screen Appear After I Attempted to Log In to an ECS Using VNC?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot