Author: gnuhpc
Source: http://www.cnblogs.com/gnuhpc/
1. the kernel starts init.
2. Locate the/etc/event. d/RC-default file in init and determine the default running level (X)
3. Trigger the corresponding runlevel event and start running/etc/event. d/rcX
4. Run/etc/init. d/RC in rcX and input the parameter X.
5. Configure the/etc/init. d/RC Script and run the script in/etc/rcX. d /.
6. the scripts in/etc/rcX. d/are started in sequence based on the preset priority until the logon screen is displayed (start the X server and complete the running of)
7. When a user logs on, bash automatically runs the global logon Script:/etc/profile created by the system administrator. This script first looks for/etc/profile. d directory. If the permission permits, all *. run the sh script once, set the command line prompt, and then run/etc/bash. bashrc
Script.
8. KDE/gnome all have their own self-startup Item directories, which will not be described here.
It's quite troublesome for me to get rid of myself, but the space for self-customization is relatively large. Pay attention to self-startingProgramWhen setting, consider whether to run after the user logs on or before logon.
Author: gnuhpc
Source: http://www.cnblogs.com/gnuhpc/