Modify the default startup level of ubuntu

Source: Internet
Author: User
Tags linux mint

Ubuntu changed the default startup level. I installed linux mint 13 on my small netbook. Sometimes I want to use a small netbook as an ftp server without shutting down for a long time. In order to reduce the power consumption of the minor, I want the minor to start in command line mode by default. I have been searching for the Internet for a long time, how to modify the startup level of ubuntu (linux mint is based on ubuntu), searched for a long time, failed to succeed in many ways, and finally found a feasible method. Here is a summary. The red section method is verified successfully. There are several common solutions on the Internet: 1. Modify the/etc/X11/default-display-manager file. The content of this file is generally a path. For example, mine is: /usr/sbin/mdm. Comment out the line with the "#" sign in front of it, set the start line to "false", save and exit, and restart. Your system will enter the text interface by default. You can use startx to start the graphic interface. After logging out, it will return to the text interface, which is very convenient. 2. Edit the/etc/default/grub file and modify GRUB_CMDLINE_LINUX_DEFAULT = "quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT = "text", save the file, and run the following command: sudo update-grub2 (I tested this step can not be missing), restart the computer will be able to default access the command line interface. 3. modify the content in the/etc/inittab. The modification field is "id: X: initdefault:", and the red "X" indicates a number, this number is your startup level (you can try 1 ). This method is suitable for linux systems of the redhat series, such as redhad and centOS. You can also manually add the/etc/inittab file in ubuntu to modify the default startup level. However, the GUI is not started only when the startup level is 1, so this method is not thorough. 4. Modify/etc/event. d files in the folder, but this path is not available in my system. I have verified that this path is not available in the latest (12.04) ubuntu version, I ignored it (I heard that this path is available on ubuntu of earlier versions ).

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.