Login 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.
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.
Prerequisites
- You have used an SSH key to log in to the Linux ECS authenticated using a key pair and set a login password.
- An EIP has been bound to the ECS.
Procedure for Non-FPGA-accelerated ECSs
Perform the following operations to log in to a non-FPGA-accelerated ECS:
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Under Computing, click Elastic Cloud Server.
- In the Operation column of the target ECS, click Remote Login.
Figure 1 Remote Login
- In the Logging In to a Linux ECS dialog box, click Log In in VNC-based 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.
- (Optional) Have the cursor displayed 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 part of the remote login panel.
Figure 2 Local Cursor
- Enter the ECS password as prompted.
Figure 3 Username (root as an example) and password
Procedure for FPGA-accelerated ECSs
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 an FPGA-accelerated ECS using SSH. For details, see Login Using an SSH Key and Login Using an SSH Password.
FPGA-accelerated ECSs use the CentOS 7.3 64-bit GUI. If you log in to an FPGA-accelerated ECS with only user root configured, the system will ask you to create a user when you log in to such an ECS. Perform the following operations to log in to an FPGA-accelerated ECS:
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Under Computing, click Elastic Cloud Server.
- In the Operation column of the target ECS, click Remote Login.
Figure 4 Remote Login
- Select a system language, for example, English, and click Next.
Figure 5 Selecting a language
- Select your physical keyboard layout and click Next.
Figure 6 Selecting a keyboard layout
- Set privacy items as required and click Next.
- Set the time zone for the ECS and click Next.
- (Optional) Associate with other accounts as required, or click Skip.
Figure 7 Associating with other accounts
- Set Full Name and Username for the new user.
- Full Name: specifies the user nickname.
- Username: specifies your username, which is used to create the home directory and cannot be changed.
- Set the password.
- Click Start using CentOS Linux to use your ECS.
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 Input Commands in the upper right corner of the page.
Figure 8 Copy & Paste
- Press Ctrl+C to copy data from the local computer.
- Press Ctrl+V to paste the local data to the Copy Commands window.
- Click Send.
Send the copied data to the CLI.
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.
Last Article: Login Using CloudShell
Next Article: Login Using an SSH Key
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.