Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 ;]
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.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.