If you cannot use remote connection software such as PuTTY, Xshell, and SecureCRT to connect to a Linux instance, you can use the VNC Connection feature in the ECS console to connect to the Linux instance and view the real-time status of the instance operation interface.
Prerequisites
- An ECS instance is created.
- A logon password is set for the instance. If you have not set a password or if you have forgotten the password, you must reset the password for the instance. For more information, see Reset the logon password of an instance.
Background information
The VNC password must be six characters in length and is used to connect to the VNC management terminal in the ECS console, while the instance password is used to log on to the instance.
By default, a remote VNC connection session lasts for about 300 seconds. If you do not perform operations within these 300 seconds, the connection to the instance is closed. You must connect to the instance again.
If you cannot use remote connection software to connect to your instance, you can use the VNC Connection feature in the ECS console to connect to the instance and view the status of the instance, as described in the following table.
Scenario | Operation |
---|---|
The instance started slowly due to startup self-check. | Check the progress of the self-check. |
The firewall of the operating system is enabled by mistake. | Disable the firewall. |
The ECS instance is hacked into, which causes a high CPU utilization and high bandwidth usage. | Troubleshoot and terminate abnormal processes. |
Procedure

Modify the VNC password
Copy long commands
If you want to copy a long text item such as a download URL from the local device to the instance, you can use the copy command input feature.
- On the Instances page, find the instance to be connected and click Connect in the Actions column.
- Connect to the VNC management terminal.
- In the upper-right corner of the interface, click Enter Copy Commands.
- In the Copy and Paste Commands dialog box, enter the content to be copied and then click OK.