Open and close the CentOS graphical interface

Source: Internet
Author: User


1.1 Shell runs init 3 into text mode and closes the associated service (Xserver definitely off)
1.2 Alt+ctrl+f1~f6 to character interface, root login, PS aux|grep/usr/x11r6/bin/x, get X process number,
Kill-9 process number, in fact, it has been to the text interface, there is no need to close X. (This is too rude.)

2. If you want to not enter the X Window after booting:
Edit/etc/inittab
Id:5:initdefault: Change into
Id:3:initdefault:

3. Open the graphical interface in text mode (X window):
Enter in the shell: StartX or init 5

Open and close the CentOS graphical interface

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.