LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-29-2002, 11:10 AM   #1
goneaway
Member
 
Registered: Jan 2002
Location: Denver, Colorado, United States
Distribution: Gentoo, Debian, Rubyx
Posts: 78

Rep: Reputation: 15
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...

Last edited by goneaway; 01-30-2002 at 08:41 AM.
 
Old 01-29-2002, 11:43 AM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
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.
 
Old 01-29-2002, 11:49 AM   #3
alfie
Debian Developer
 
Registered: Jan 2002
Location: Vienna / Austria / Europe / Earth / Milky Way
Distribution: Debian
Posts: 22

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
shutdown but no reboot alma Suse/Novell 2 11-17-2005 11:11 PM
/lib/libthread_db.so.1 crashes at shutdown or reboot on Slackware 10.1 with Qt 3.3.4 Basel Slackware 13 07-15-2005 03:03 AM
shutdown now -h from X crashes xemous Linux - General 1 03-12-2005 03:22 AM
help with shutdown and reboot Paxmaster Fedora 2 09-26-2004 04:01 PM
Immediate shutdown/reboot Creep Linux - Hardware 4 03-07-2004 04:56 AM


All times are GMT -5. The time now is 12:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration