Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inittab

Status
Not open for further replies.

BIS

Technical User
Jun 1, 2001
1,897
NL
Hallo All,

I am getting pretty confused here so hopefully somebody can help me ...

I would like, when I boot, not to startx. This is a debian system. Every time I boot I get the graphical login prompt (where by the way I cannot log in as root). How do I stop this and only boot to the comman line? I believe it is something to do with the inittab, but google and man pages just get me more confused. This is the current line that I believe needs modifying in inittab:

id:3:initdefault:

but from here on I am lost. Can somebody point me in the right direction?
 
OK, I realized that as run level 3 was now default, it could perhaps help to rename the S99gdm to something like OLS_S99gdm in /etc/rc3.d - this solved it.
Next question: Is there a cleaner way to do this?
 
At the bottom of inittab you should see this:

x:5:respawn:/etc/X11/prefdm -nodaemon

This says to run xdm in runlevel 5. If there is a three there, that may be part of the problem.

 
Been a while since I did Debian on the desktop. But I do remember someone in irc.debian.org:#debian saying "starting GUI in runlevels is a redhatism. debian doesn't do that" when I asked the same question.

Last I tried, the 'debian' way to do it was 'update-rc.d gdm remove' or similar. Check out the 'update-rc.d --help'.

Again, it's been a while. That was from back when debian 2.0 (slink i think) release was a big ol' party in #debian :)

----
JBR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top