In Linux system, there are seven default startup levels, each of which means different meanings. How to modify the default startup level of Linux system? Let's learn together.
modify system startup level: modify the system default startup to over three user state, there are seven levels starting in Linux, the default is X-Window, like window mode Windows, and Linux operating And the configuration is generally done by input commands. Like the DOS operating system, how do you let Linux enter this mode as soon as it starts?
Step 1: Enter Linux as an administrator and modify the file: /etc/inittab file.
Step 2: Find “id:5:initdefault:”, where 5 is X-Window, the default run level, we can change 5 to 3.
# 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 run level:
0 is the machine down and the machine is turned off.
1 is single-user mode, similar to the security mode under Win9x.
2 is multi-user mode, but there is no NFS support.
3 is the full multi-user mode and is the standard run level.
4 Generally not used, in some special cases you can use it to do something. For example, when the laptop's battery is exhausted, you can switch to this mode to make some settings.
5 is X11, into the X Window System.
6 In order to restart, running init 6 will restart the machine.
0 and 6 are generally not used;
Running startx can be started to level 5.
The above is the way to modify the default startup level of Linux. If you can't start the system because you have modified the startup level, you can use the method described in this article to modify it.
Ubuntu is one of the Linux distributions. Unlike Windows, Ubuntu is used in software centers. So wha
ADB is a client-server program that can be used to debug bridges. However, in Ubunt
The access control list (ACL) under Linux is mainly used to control the permissions
when setting the environment variable in Linux Under the Linux system, the environment variable nee
Linux cancels the SSH login password
How Linux limits user login failures through PAM
The principle of implementing breakpoint resume in Linux
Krita software in the Linux system tutorial
How to use Autofs to mount files in RHEL5
How to modify the color of the Linux system shell script output text
Linux system sort command operation example
Linux installation steps using GitHub
A brief introduction to the use of jenkins in Linux systems
Linux file system entry details
How Linux uses the kill command to force a process to terminate
What if your Windows system crashes? 6 strokes to fix Windows
How to view the photo viewer process in Win10 system
The first Xbox One Win10 UWP app is available
What should I do if the windows7 taskbar shows that the desktop button is missing?
Win8 system SkyDrive function experience Convenient storage
Faster, larger solid state drive
Win10 Mobile 10162 new mobile phone wallpaper appreciation free download
Win10 reset this computer how to use Win10 to reset this computer is the result?