Logging In to a Linux ECS Using VNC
Scenarios
This section describes how to use VNC provided on the management console to log in to an ECS.
For instructions about how to copy and paste data on VNC pages after the ECS login, see Follow-up Procedure.
![](https://support.huaweicloud.com/intl/en-us/usermanual-ecs/public_sys-resources/note_3.0-en-us.png)
Before using remote login (VNC) provided on the management console to log in to a Linux ECS authenticated using a key pair, log in to the ECS using an SSH key and set a login password.
Constraints
- When you log in to an ECS using VNC, the system does not support copy and paste operations, reducing the efficiency of using the ECS. Unless otherwise specified, you are advised to log in to the ECS using SSH. For details, see Logging In to a Linux ECS Using an SSH Key Pair and Logging In to a Linux ECS Using an SSH Password.
Prerequisites
You have used an SSH key to log in to the Linux ECS authenticated using a key pair and set a login password.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select your region and project.
- Click
. Under Compute, click Elastic Cloud Server.
- In the Operation column of the target ECS, click Remote Login.
Figure 1 Remote Login
- (Optional) When the system displays "Press CTRL+ALT+DELETE to log on", click Ctrl+Alt+Del in the upper part of the remote login page to log in to the ECS.
Do not press CTRL+ALT+DELETE on the physical keyboard because this operation does not take effect.
- Enter the ECS password as prompted.
Figure 2 Username (root as an example) and password
Follow-up Procedure
Local commands can be copied to an ECS. To do so, perform the following operations:
- Log in to the ECS using VNC.
- Click Paste & Send in the top area of the page.
Figure 3 Paste & Send
- Press Ctrl+C to copy data from the local computer.
- Press Ctrl+V to paste the local data to the Paste & Send window.
- Click Send.
Send the copied data to the CLI.
![](https://support.huaweicloud.com/intl/en-us/usermanual-ecs/public_sys-resources/note_3.0-en-us.png)
There is a low probability that data is lost when you use Paste & Send 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, it is a good practice to send a maximum of 5 characters at a time or switch from GUI to CLI (also called text interface), and then use the Paste & Send function.
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