Disable and enable the CentOS6.x graphic interface

Source: Internet
Author: User
Centos6 running with virtual machines. the hardware conditions of this book are limited. it is decided that the graphic interface should be switched off to the root user, surootpassword1, and the graphic interface should be closed: init3 to close the graphic interface (the XServer service will also be closed) 2. enable graphical interface: init5 or startx3.

Centos 6 running on a virtual machine has limited hardware conditions and the graphic interface is disabled.

Switch to the root user,

Su root

Password

1. disable the graphic interface:

Init 3 close graphical interface (XServer service will also close)

 

2. enable the graphic interface:

Init 5 or startx

 

3. do not enter X Window at startup:

Vi/etc/inittab

Id: 5: initdefault:

Change
Id: 3: initdefault:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.