How to modify the default Linux startup level or mode

Source: Internet
Author: User
How to modify the default Linux startup level or mode there are 7 startup levels in Linux, the default is X-Window, such as Windows Window mode, for Linux operations and configurations, we generally use the input command to complete them. like the DOS operating system, how can we enable Linux to enter this mode as soon as it is started...
How to modify the default Linux startup level or mode there are 7 startup levels in Linux, the default is X-Window, such as Windows Window mode, for Linux operations and configurations, we generally use the input command method. like the DOS operating system, how does one enable Linux to enter this mode upon startup? Enter Linux as an administrator at www.2cto.com and find "id: 5: initdefault:" In the "/etc/inittab" file. 5 is X-Window, which is the default running level, generally, we can change 5 to 3. There are 7 startup levels: #0-halt (Do NOT set initdefault to this) #1-Single user mode #2-Multiuser, without NFS (The same as 3, if you do not have networking) #3-Full multiuser mode #4-unused #5-X11 #6-reboot (Do NOT set initdefault to this) detailed explanation of each running level: 0 indicates that the machine is shut down. 1 is the single-user mode, just like the security mode in Win9x. 2: Multi-user mode, but not supported by NFS. 3 is a complete multi-user mode, which is a standard operation level. 4. Generally, you can use it to do things in some special cases. For example, you can switch to this mode to make some settings when the battery of your laptop is exhausted. 5 is X11, and it enters the X Window System. 6. restart the init 6 server. 0 and 6 are generally not used; running startx can be started to level 5.

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.