Enable and disable the CentOs graphical interface

Source: Internet
Author: User
From: Drawing (xwindow) 2010-06-1818: 211. close xwindow: 1.1shell on the image interface and run init3 to enter the text mode. at the same time, the related services will be disabled (Xserver will definitely close) 1.2a...

From: http://yelb.iteye.com/blog/1047138

CentOS close graphical interface (x window) 2010-06-18. close x window on the image interface:
Run init 3 in the 1.1 shell to enter the text mode, and disable related services (Xserver is definitely disabled)
1.2 Alt + Ctrl + F1 ~ F6 to the character interface, root login, ps aux | grep/usr/X11R6/bin/X, get the X process number,
Kill-9 process number. In fact, it is already in the text interface, and there is no need to close X. (This is too rude)

2. if you do not want to enter the X Window after the host is started:
Edit/etc/inittab
Id: 5: initdefault: changed
Id: 3: initdefault:

3. open the graphic interface (X window) in text mode ):
Input startx or init 5 in shell

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.