LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 03-04-2003, 08:03 PM   #1
linuxlah
Member
 
Registered: Jun 2002
Location: Batu Puteh, Malaysia
Distribution: (Mandrake 8.2) (Redhat 7.2,8.0,9.0) (Slackware 9.0,9.1)
Posts: 154

Rep: Reputation: 30
Does init 5 call startx?


Does init 5 call startx? If yes when or where does it do it? Thanks in advance.
 
Old 03-04-2003, 08:20 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 03-04-2003, 08:32 PM   #3
Crunch
Member
 
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Rep: Reputation: 30
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 ;]
 
Old 03-04-2003, 09:06 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 03-04-2003, 11:48 PM   #5
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
call Startx, LCD panel says "Signal is not compatible with this input" rpriest12 Linux - Hardware 8 01-18-2005 07:36 PM
problems with startx and init 6 einstien Slackware - Installation 1 11-30-2004 09:25 AM
What do you call your remote control? I call mine... RHLinuxGUY General 19 10-18-2004 06:23 AM
Bug / Xwindows / startx : xinit works but startx crash www.rzr.free.fr Linux - Software 4 10-17-2004 08:06 AM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration