Overview
This document describes how to build a visual CentOS desktop on CVM instances with CentOS 8.2 or CentOS 7.9 installed.
Notes
By default, Tencent Cloud Linux public images are not provided with a GUI component.
Directions
Perform the following operations according to the operating system version of your CVM instance.
2. Run the following command to install the GUI component.
yum groupinstall "Server with GUI" -y
3. Run the following command to set the default GUI.
systemctl set-default graphical
4. Run the following command to restart the instance.
2. Run the following command to install the GUI component.
yum groupinstall "GNOME Desktop" "Graphical Administration Tools" -y
3. Run the following command to set the default GUI.
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
4. Run the following command to restart the instance.