LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Starting up linux procedure (https://www.linuxquestions.org/questions/linux-newbie-8/starting-up-linux-procedure-601220/)

Micik 11-20-2007 03:27 PM

Starting up linux procedure
 
Greetings everybody,
can you tell me in more details how exactly linux OS is booting?
I'm particulary interested how window system (graphical enviroment) is started. I can see that immediately after starting up processes there is localhost login shown briefly and then window system is started? I want to know in which configurations files these startup instructions is placed.
Why in some systems, one must manually type startx to boot GUI enviroment?

Thanks in advance.

ilikejam 11-20-2007 03:47 PM

Hi.

Take a look in /etc/inittab .

You should see a line like:
Code:

id:5:initdefault:
That means your default runlevel is '5'
Somewhere below that you should see a line like:
Code:

x:5:respawn:/etc/X11/prefdm -nodaemon
That means that in runlevel 5, run '/etc/X11/prefdm -nodaemon', which is the graphical login.

That's from Fedora, so your distro may have a different runlevel set, or may run a different command to start the graphical login.

Dave


All times are GMT -5. The time now is 12:08 AM.