LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-10-2012, 07:16 PM   #1
halborr
Member
 
Registered: Aug 2009
Posts: 112

Rep: Reputation: 18
Slack 13.37 refuses to go to runlevel 4 at boot


I recently decided I wanted to boot straight into X instead of to the console as I have always done. I changed the default runlevel in /etc/inittab to 4 and.... nothing. It's as if the file isn't being read. I can't even manually "telinit 4". I can run /etc/rc.d/rc.4 and it works perfectly (I run it manually in rc.local for the time being).

What is going on here?

Code:
#
# inittab       This file describes how the INIT process should set up
#               the system in a certain run-level.
#
# Version:      @(#)inittab             2.04    17/05/93        MvS
#                                       2.10    02/10/95        PV
#                                       3.00    02/06/1999      PV
#                                       4.00    04/10/2002      PV
#                                      13.37    2011-03-25      PJV
#
# Author:       Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified by:  Patrick J. Volkerding, <volkerdi@slackware.com>
#

# These are the default runlevels in Slackware:
#   0 = halt
#   1 = single user mode
#   2 = unused (but configured the same as runlevel 3)
#   3 = multiuser mode (default Slackware runlevel)
#   4 = X11 with KDM/GDM/XDM (session managers)
#   5 = unused (but configured the same as runlevel 3)
#   6 = reboot

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

# System initialization (runs when system boots).
si:S:sysinit:/etc/rc.d/rc.S

# Script to run when going single user (runlevel 1).
su:1S:wait:/etc/rc.d/rc.K

# Script to run when going multi user.
rc:2345:wait:/etc/rc.d/rc.M

# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -t5 -r now

# Runlevel 0 halts the system.
l0:0:wait:/etc/rc.d/rc.0

# Runlevel 6 reboots the system.
l6:6:wait:/etc/rc.d/rc.6

# What to do when power fails.
pf::powerfail:/sbin/genpowerfail start

# If power is back, cancel the running shutdown.
pg::powerokwait:/sbin/genpowerfail stop

# These are the standard console login getties in multiuser mode:
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux

# Runlevel 4 also starts /etc/rc.d/rc.4 to run a display manager for X.  
# Display managers are preferred in this order:  gdm, kdm, xdm x1:4:respawn:/etc/rc.d/rc.4 
# End of /etc/inittab
 
Old 08-10-2012, 07:35 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
Quote:
Originally Posted by halborr View Post
What is going on here?

Code:
# Runlevel 4 also starts /etc/rc.d/rc.4 to run a display manager for X.  
# Display managers are preferred in this order:  gdm, kdm, xdm x1:4:respawn:/etc/rc.d/rc.4 
# End of /etc/inittab
You're missing a linefeed. x1:4:respawn:/etc/rc.d/rc.4 should be on a line of its own.
 
Old 08-10-2012, 07:56 PM   #3
halborr
Member
 
Registered: Aug 2009
Posts: 112

Original Poster
Rep: Reputation: 18
Great! I must have fat-fingered something when editing the file.

Thanks!
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Updated and refuses to boot solar_64131 Ubuntu 2 02-12-2010 05:53 PM
updated slack now xfce refuses to load correctly simonb1975uk Slackware 10 10-08-2007 08:14 PM
Slack; Where are the runlevel scripts? GAVollink Slackware 4 11-10-2003 09:21 AM
ALSA refuses to restore sound state on boot Slack 9.1 themike Slackware 7 10-16-2003 05:31 AM
RH 9.0 refuses to boot skybolt_1 Red Hat 5 09-29-2003 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:09 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