linux-Toggle Start Mode

Source: Internet
Author: User

Linx default startup mode can be used in the graphical interface can also use the command line state, the command line state start relatively faster, and the resource consumption is also smaller, this can be modified during the Linux boot process, you can also directly modify the configuration file to set the default startup mode.

Log in as root and execute:

VI  /etc/inittab


change " Id:5:initdefault: " Statement "Id:3: Initdefault: " for that is when the system starts it is time to start from the start of the graphical interface to command line startup

5 means the default graphical start interface
3


note: after startup, You can also switch by using the following statement:
Init [0~6]

The RunLevel is as follows:

0 shutdown

1 single user

2 multi-user state no NETWORK Service

3 multi-user state and Network service

4 system not used, reserved for users

5 graphical interface

6 restart


init 3, enter the text interface.
init 5 then enter the graphical interface.


Quick commands for entering the graphical interface from the text interface: StartX

linux-Toggle Start Mode

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.