LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   shutdown and reboot x crashes (https://www.linuxquestions.org/questions/linux-newbie-8/shutdown-and-reboot-x-crashes-12980/)

goneaway 01-29-2002 12:10 PM

shutdown and reboot x crashes
 
I just installed SuSE 7.3 on my machine. Everything is fine except when I try to shutdown or reboot from linux. When I try to "shutdown -r now" or "shutdown -h now" from either the root account or a regular user account the initial X windows splash screen pops up as well as a pointer but the machine freezes right there.

The only thing I can think of is that I tried resetting the permissions to shutdown to "local users" at one point (so my girlfriend can use a Win proprietary VPN client on the other partition without having to log in as root) through Yast2 but later reset it. Worth noting is that everything was fine before this change. Is there some configuration file that I botched?

argh. I'm sick of having to manually reset the machine everytime I need to get to the other partition...

thanks in advance.

****************************************************

I think I have this figured out (at least enough to make it work.) I had to manually edit the inittab and uncomment a few things. Not exactly sure that I trust the configs that YaST2 uses. Thanks for all the help here and in email...

Thymox 01-29-2002 12:43 PM

I can't think of how you'd get around the 'shutdown -? now' malarky, but as a tempory measure, you could try typing init 6.

You might not be aware of the inits. There are 6 of them.
3 is used for text-only, multi user, networked login.
5 is used for GFX (X), multi-user, networked login.
6 is used to shutdown/restart the machine.

I can't remember what 1, 2 or 4 are used for.

alfie 01-29-2002 12:49 PM

Quote:

Originally posted by Thymox
I can't remember what 1, 2 or 4 are used for.
I think I can enlighen you there a little bit:
Code:

# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

What is done in the runlevels 2 to 5 is not really the same through the different distributions, although 2 sometimes is multiuser without network, 3 is with networking and 5 with graphical login. Something similar can be found in some of the distributions, but that's not really standardized yet to my knowledge...

HTH,
Alfie


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