Startup problem

Asheville Joe josephj at main.nc.us
Tue Sep 23 13:38:51 EDT 2003


/etc/inittab (unmodified) below.  Nothing about xdm or kdm in it, so it 
must be somewhere else.  I haven't delved into startup much yet.  I know 
there are a bunch of scripts that get run, but I don't really know which 
is which.

Joe

#
# inittab       This file describes how the INIT process should set up
#               the system in a certain run-level.
#
# Author:       Miquel van Smoorenburg, <miquels at drinkel.nl.mugnet.org>
#               Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# Default runlevel. The runlevels used by Mandrake Linux are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have 
networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left.  Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly. 
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"


# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

-----------------------------------------------------------------------------------

[bigbird at localhost etc]$ cd /etc/rc.d
[bigbird at localhost rc.d]$ ls
init.d/  rc0.d/  rc2.d/  rc4.d/  rc6.d/     rc.modules*
rc*      rc1.d/  rc3.d/  rc5.d/  rc.local*  rc.sysinit*
[bigbird at localhost rc.d]$ cd rc5.d
[bigbird at localhost rc5.d]$ ls
K15postgresql@     S12syslog@   S20xfs@        S55tmdns@       S90crond@
K90mysql@          S13partmon@  S25netfs@      S56rawdevices@  S92lisa@
removed/           S14nfslock@  S26apmd@       S56xinetd@      S95kheader@
S01switchprofile@  S15gpm@      S30dm@         S60cups@        S99devfsd@
S05harddrake@      S17alsa@     S40atd@        S75keytable@    S99linuxconf@
S10network@        S18sound@    S40saslauthd@  S80postfix@     S99local@
S11portmap@        S20random@   S52lads@       S85httpd@       S99wine@
[bigbird at localhost rc5.d]$

---------------------------------------------------------------------

Cyber Source wrote:

> Sounds like your kdm got whacked a little. Check /etc/inittab, you 
> could make it use kdm by putting in the line "x:5:respawn:/usr/bin/kdm 
> -nodaemon" and comment out the line referring to xdm (I presume)
> On Tue, 2003-09-23 at 11:17, Asheville Joe wrote:
>
>>/Yesterday, I was trying print a couple of M$ Word files I got as email
>>attachments  (in OOo Write) and my system locked up.  Got out with a few
>>three finger salutes and was able to relogin as my user.  Duplicated it
>>again, but this time had to reset to get out of it.
>>
>>When I rebooted it gave me one of those options that are gone before you
>>can read them, so I hit reset and did it again.  It offered to let me
>>force a file system check.  I said yes.  It went through the whole thing
>>for hda7 (boot), claimed it didn't do it and asked me if I wanted to do
>>it again and allow repairs.  Trusting soul that I am, I said yes and it
>>went through several more steps, but didn't actually say anything about
>>what it may have fixed.
>>
>>When it (Mandrake 9.1) finished booting I got the normal blue screen of
>>hope, the wavy pattern screen of almost there, and then up poped "X
>>Window System Login".  My normal Mandrake login panel was gone.
>>
>>When I login, everything works as expected - kde comes up, etc., but
>>when I logout, all I get is the same Xwindows Login panel.  I no longer
>>have any option to shutdown or reboot at all.  The only way I figured
>>out to do that was to open an Xterm and issue the shutdown command as root.
>>
>>I just read through dmesg, and don't see any new complaints.
>>
>>I'm looking for any ideas as to what happened and how to get the
>>Mandrake login screen back.
>>
>>Thanks.
>>
>>Joe/
>>
> -- Cyber Source <peter at thecybersource.com 
> <mailto:peter at thecybersource.com>>
>
>
>  
>

-- 

----------------------------------
"Man is a god clothed in rags, he is a master of the universe going about begging a crust of bread. He is a king prostrated before his own servants, a prisoner walled in by his own ignorance. He could be free. He has only to walk out of his self-constructed prison, for none holds him there but himself". -Paul Twitchell from "In MY Soul I Am Free" "The Constitution of the United States is a law for rulers and people, equally in war and peace, and covers with the shield of its protection all classes of men, at all times, and under all circumstances. No doctrine involving more pernicious consequences was ever invented by the wit of man than that any of its provisions can be suspended during any of the great exigencies of government. Such a doctrine leads directly to anarchy or despotism." ~The Supreme Court of the United States, 1866





More information about the nflug mailing list