LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Does init 5 call startx? (https://www.linuxquestions.org/questions/linux-general-1/does-init-5-call-startx-48301/)

linuxlah 03-04-2003 08:03 PM

Does init 5 call startx?
 
Does init 5 call startx? If yes when or where does it do it? Thanks in advance.

Tinkster 03-04-2003 08:20 PM

Quote:

Does init 5 call startx?
Whether 5 starts X depends on your distro :)

Quote:

If yes when or where does it do it?
It doesn't run startx, tthough, but uses
/etc/X11/prefdm...

Cheers
Tink

Crunch 03-04-2003 08:32 PM

Yeah honestly, i would think it depends on your distro. Redhat.. startx is pretty much initiated right away ;) well.. depending on the version .. for 8.0 it does ;]

MasterC 03-04-2003 09:06 PM

Quote:

Originally posted by Crunch
Yeah honestly, i would think it depends on your distro. Redhat.. startx is pretty much initiated right away ;) well.. depending on the version .. for 8.0 it does ;]
Not exactly. Fire up a text editor, or just a terminal type:
less /etc/inittab

There is the defined run levels. You can change which is your default one, and then it doesn't initiate it right away, you boot into text and then startx.

Cool

nxny 03-04-2003 11:48 PM

Re: Does init 5 call startx?
 
Quote:

Originally posted by linuxlah
Does init 5 call startx? If yes when or where does it do it? Thanks in advance.
No, it does not. The 2 ways that an X server can be started are..

1) call xinit - called internally when you type in startx from runlevel 3

2) via the xdm server ( or similar - there is GDM/KDM, RH uses GDM ) which starts the X server in runlevel 5 and grants you a session if you have proper authentication credentials. See /etc/X11/gdm for configuration files. Also check out the GDM man page.

HTH


All times are GMT -5. The time now is 06:11 PM.