Help Center > > FAQs> OS Management> GUI Installation FAQs> How Can I Install a GUI on an ECS Running CentOS 6?

How Can I Install a GUI on an ECS Running CentOS 6?

Updated at: May 06, 2020 GMT+08:00

Scenarios

The ECSs running CentOS 6 series do not have a GUI installed by default. If GUI is required, perform the operations described in this section to install it.

Constraints

Procedure

  1. Run the following command to obtain the installation component provided by the OS:

    # yum groupinstall "Desktop"

  1. Run the following command to set the default startup level to 5 (GUI):

    # sed -i 's/id:3:initdefault:/id:5:initdefault:/' /etc/inittab

  2. Access GUI and run the following command:

    # startx

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel