LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Interesting question about "init 4" and x.org crashing (http://www.linuxquestions.org/questions/slackware-14/interesting-question-about-init-4-and-x-org-crashing-396231/)

Dankles 12-24-2005 10:48 AM

Interesting question about "init 4" and x.org crashing
 
Hey guys, I just installed slackware on a new box. Everything went fine. I upgraded the kernel installed a few extra packages... then i decide to do an "init 4" to run x.org. It crashes of course because I forgot to configure my xorg.conf file.
I know how to edit my xorg.conf file and make it work... I just wanted to know if there was a way to get back to runlevel 3 without rebooting. I find it annoting that i had to reboot to fix the problem.
I know that if i do "startx" instead of "init 4" i can just type "ctrl + alt + backspace" to get back. But this is not the solution to my problem.

Hangdog42 12-24-2005 11:12 AM

The telinit command allows you to change runlevels on the fly.

Dankles 12-24-2005 01:15 PM

Quote:

Originally Posted by Hangdog42
The telinit command allows you to change runlevels on the fly.

It looks like telinit does the same thing as init. I would try typing it in but i get a blank screen when i do an "init 4".
I was looking for some kind of interupt key command that would get me out of my blank screen and back to a prompt.

gilead 12-24-2005 01:55 PM

What happens when you try to change to tty6 with <Alt> <F6> (or <Ctl> <Alt> <F6>)? By default Slackware only runs/respawns tty6 when in run level 4 (configured in /etc/inittab). There should be a login screen on tty6 that'll let you access the system to change the run level back to 3.

Dankles 12-25-2005 03:00 PM

Quote:

Originally Posted by gilead
What happens when you try to change to tty6 with <Alt> <F6> (or <Ctl> <Alt> <F6>)? By default Slackware only runs/respawns tty6 when in run level 4 (configured in /etc/inittab). There should be a login screen on tty6 that'll let you access the system to change the run level back to 3.

Your a brilliant man! Thanks, this seems to do the trick.


All times are GMT -5. The time now is 12:38 PM.