Switch centos text mode to graphic interface

Source: Internet
Author: User
Enter the centos graphical interface. to directly enter the Console interface when Linux is started, you can use vi to edit the/etc/inittab file. Find the line id: 3: initdefault: and change it to id: 5: initdefault: and then restart the system. We can see that simply changing 3 to 5 can convert the X-window graphic operation interface or Console character interface at startup. this is because there are six types of Linux operating systems. Enter the centos graphical interface

To directly access the Console interface when Linux is started, you can use vi to edit the/etc/inittab file. Find the line id: 3: initdefault: and change it to id: 5: initdefault: and then restart the system. We can simply change 3 to 5 to convert the X-window graphic operation interface or Console character interface at startup, this is because the Linux operating system has six different run levels. at different run levels, the system has different states. these six run levels are:


0: Shutdown (remember not to set initdefault to 0, because this will make Linux unable to start)

1: Single-user mode, just like the security mode in Win9X.

2: multiple users, but not NFS.

3: full multi-user mode, standard operation level.

4: it is generally not used. in some special cases, you can use it to do something.

5: X11, which means entering the X-window system.

6: Restart (remember not to set initdefault to 6, because this will make Linux continuously restart ).

Among them, running Level 3 is the standard Console character interface mode we want to enter.
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.