tencent cloud

Feedback

Building a Visual CentOS Desktop

Last updated: 2024-01-06 17:43:10

    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.
    Improper GUI component installation may cause a CVM startup failure. We recommend you to first back up data by creating custom images or creating snapshots.

    Directions

    Perform the following operations according to the operating system version of your CVM instance.
    CentOS 8.2
    CentOS 7.9
    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.
    reboot
    5. Log in to the Linux instance via VNC. If the GUI page appears, it has been successfully set up. Follow the instructions to enter the desktop and continue other operations.
    
    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.
    reboot
    5. Log in to the Linux instance via VNC. If the GUI page appears, it has been successfully set up. Follow the instructions to enter the desktop and continue other operations.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support