Environment: Fedora Core 5, GNOME
Just simply log the tracing result.
After you boot, the default runlevel is graphics. (How to know the default runlevel? check /etc/inittab.). The sequence are as the following:
1. Kernel
2. /etc/rc.d/rc.sysinit
3. /etc/rc.d/rc, the scripts in /etc/rc5.d/
4. /etc/rc.local (Actually is /etc/rc.d/rc.local)
5. prefdm. It bring the default desktop manager up.(How to know what the default desktop manager is? Check /etc/sysconfig/desktop)
6. After you signed in, gdm execute /etc/X11/xinit/Xsession
7. /etc/X11/xinit/xinitrc
8. /etc/X11/xinit/xinitrc-common
9. The scripts in /etc/X11/xinit/xinitrc.d/. And one of the scripts named xinput.sh will bring IME up.
10. Finished.
Why did I trace the bootstrap? Because after I upgraded Fedora Core 4 to Core 5 several days ago, my GNOME is dead. I saw only a simple terminal.
I tried several ways, and I still don't know why.
After I traced hardly today, I found the problem.
That's because BaseXsession is set to /etc/X11/xdm/Xsession in /etc/gdm/custom.conf.
After you logined, gdm will execute this script, and xdm/Xsession just run a simple terminal, so I saw a simple terminal.
Orz...
Reference:
沒有留言:
張貼留言