Installing GNOME
Introduction
GNU Network Object Model Environment (GNOME) is a graphical user interface (GUI) for Linux. It can also run in most BSD operating systems. This section describes how to install GNOME and switch interfaces in HCE 2.0.
Preparations
Prepare an ECS.
Prerequisites
A local yum repository has been configured. For details, see Configuring an HCE Repository.
Procedure
- Install GNOME.
Run the following command to install GNOME:
dnf install gnome-initial-setup gnome-terminal
- Configure GNOME to launch at boot.
- Tell the system to launch the full desktop environment at boot.
systemctl set-default graphical.target
- Reboot the server.
reboot
- Tell the system to launch the full desktop environment at boot.
Switching Between the GUI and CLI
The following describes how to switch between the GUI and CLI in HCE using systemctl commands.
- To switch to the CLI, run the following command on the GUI terminal:
sudo systemctl isolate multi-user.target

Press Enter and enter the username and password as prompted to switch to the CLI.

- For a VNC login, you cannot use systemctl to switch from the GUI to CLI.
- To switch, press the following keys simultaneously:
Ctrl+Alt+Fx (x must be a number from 2 to 6)
The VNC service (such as Xvnc) is not bound to an actual TTY or it is not registered with logind. This means that systemd cannot detect the graphics status and cannot automatically switch to the CLI.
- To switch back to the GUI, run the following command in the CLI (assuming GNOME has been installed):
sudo systemctl isolate graphical.target

Press Enter, select or create a username, and enter the password to switch to the GUI.


What is your overall rating for this page?
Thank 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