To provide a pure system, the ECSs running Debian do not have a GUI installed by default. You can install a GUI on such ECSs as needed.
tasksel install desktop gnome-desktop
The installation takes a long time. Please wait.
After the GUI desktop component is installed on the ECS, you cannot log in to the Debian OS as user root user. Therefore, you need to add a member account for logging in to the GUI desktop.
Run the following command to add user user01:
adduser user01
Set a password for user01 as prompted.
Adding user `user01' ... Adding new group `user01' (1001) ... Adding new user `user01' (1001) with group `user01' ... Creating home directory `/home/user01' ... Copying files from `/etc/skel' ... New password: Retype new password: passwd: password updated successfully
Set information about user01. You can press Enter to skip the setting. Then the system prompts you to check whether the entered information is correct.
Enter Y.
Changing the user information for user01 Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] Y