LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PCLOS: Stopped KDM, now I can't get it to start. (https://www.linuxquestions.org/questions/linux-newbie-8/pclos-stopped-kdm-now-i-cant-get-it-to-start-586843/)

BigFoot13 09-23-2007 10:04 PM

PCLOS: Stopped KDM, now I can't get it to start.
 
Hi guys,

While playing around with the boot options in PC Linux OS, I accidentally changed the startup type to text mode so now it does not start KDM when I boot. I do not know what to do from here. I tried this:

Code:

sudo /etc/init.d/kdm start
But got an error about the timestamp. I tried it without sudo and it said it was an invalid directory. What should I do from here? Please help.

Thanks,
BigFoot.

GrapefruiTgirl 09-23-2007 10:25 PM

Code:

# 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:

The above is from the file /etc/inittab and sets which runlevel the OS boots into (in my case Slackware, and the graphical run-level is init 4) as you can see, the line id:4:initdefault: sets it to init 4. On your system, check what this line reads in your inittab file.
That should help!


NOTE - you'll need to edit the file as root.

To start X, I would type 'telinit 4' while logged in as root.


All times are GMT -5. The time now is 11:16 PM.