Just as involved as the kernel boot process, there are many stages and files involved in setting up the graphical desktop session.

Linux_Startx_Config.svg