Ubuntu system set Default boot level

Source: Internet
Author: User
Keywords Ubuntu startup level
Tags default delete etc file graphical interface it is not set reboot

The system default boot level is set in the file/etc/inittab, variable Initdefault. When set to 3 o'clock, the system starts in text mode;

When set to 5 o'clock, the system will start in graphical interface mode. This is part of the file (delete the Initdefault line you don't need):

# Default RunLevel. The runlevels used by RHS are:# 0-halt (don't set Initdefault to this) # 1-single user mode# 2-multiuser, without NFS (the SAM E as 3, if you don't have networking) # 3-full multiuser mode# 4-unused# 5-x11# 6-reboot (don't set Initdefault to this) # I D:3:initdefault: # console Text modeid:5:initdefault: # console GUI Mode

Note:

Most users start with a graphical interface such as Windows (Run Level 5) Most techies tend to text-based command-line mode startup (Run Level 3) to change the default boot value from 3 to 5, or vice versa, affecting the next restart. Review the following sections: How to set up the graphical interface to always log on until the next reboot. Of course, do not set the default boot value of 6, otherwise you will continue to reboot, set the default boot value of 0 will cause the machine will never open.

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.