[Ubuntu system probing] summarizes the Ubuntu Startup Process

Source: Internet
Author: User

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/

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.