Updated on 2024-07-24 GMT+08:00

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.

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.

Procedure

  1. Log in to the management console.
  2. Under Computing, click Elastic Cloud Server.
  3. Obtain the password for logging in to the ECS.
    Before logging in to the ECS, you must have the login password.
    • If your ECS uses password authentication, log in to the ECS using the password you configured during the ECS creation.
  4. In the Operation column of the target ECS, click Remote Login.
  5. (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.

    Do not press CTRL+ALT+DELETE on the physical keyboard because this operation does not take effect.

  6. Enter the ECS password as prompted.

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 1 Input Commands
  3. Press Ctrl+C to copy data from the local computer.
  4. Press Ctrl+V to paste the local data to the Paste & Send window.
  5. Click Send.

    Send the copied data to the CLI.

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.