LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-30-2004, 05:23 AM   #1
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Rep: Reputation: 15
Safe shutting down


In general, say when a Linux computer freezes, what keys should you press? I go for pressing Ctrl + Alt + Backspace, which I imagine shuts down X. But, if that fails, is there anything else to try? Any other safer way than pressing the big ol' power button?
 
Old 08-30-2004, 05:44 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
If Linux is crashing, something is really wrong. By Linux, I mean a total kernel freeze, when the lights on your keyboard blinks and you can't do anything. This is actually a hardware problem, and could be for several reasons such as unsupported hardware, wrong modules, overheat...

I've had myself a lot of kernel panics because of an on-board network card I had. A 15 bucks card fixed that matter.

I'd first try to find out why Linux is crashing. Then again, it just should not. All applications could crash: servers, KDE, Firefox, you name it. When the kernel panics it's time to look at /var/log/messages and see what's going on there

If it's the X-server that crashes, you can try to use a ctrl+alt+F[1-6] keys to go into an alternative terminal. ctrl+alt+F7 usually brings you back to the X. This may vary from one distro to another, mind you...

Again, if it's a kernel panic, you've to hard-reset the system. But as I said 100 times, that should not happen, ever
 
Old 08-30-2004, 05:45 AM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Vary rarely will a linux box actually freeze like various other OSes. You can use Ctrl-Alt-Backspace, which quits X.

Perhaps a better solution is to press Ctrl-Alt-F2, which allows you to login to a second virtual terminal, and then use the "kill" command to kill the frozen app. See "man kill" for details, but the -9 switch is used for forcing an app to die immediately. Then you can press ctrl-alt-F7 to get back to your desktop.

I hope this helps
--Ian
 
Old 08-30-2004, 06:21 AM   #4
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Original Poster
Rep: Reputation: 15
Though my computer is working pretty well, my dad's laptop seems to freeze every so often. Last time it was because he was moving files, and around 46%, it crashed. Wouldn't respond at all. And, normally, it's not just one program -- everything crashes. Probably to do with the kernel, like you said.
Quote:
If it's the X-server that crashes, you can try to use a ctrl+alt+F[1-6] keys to go into an alternative terminal. ctrl+alt+F7 usually brings you back to the X. This may vary from one distro to another, mind you...
Thanks . I'll bear that one in mind.
Quote:
Again, if it's a kernel panic, you've to hard-reset the system.
I think it might be worth doing that. Might try a different version of Linux while we're at it. "Broaden our horizons".

IBall- thank you, also, for your help. I'll probably try doing that next time.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it safe ? Alex_jacobson Solaris / OpenSolaris 2 03-02-2005 01:24 PM
How safe am I? bad_andy Linux - Security 2 01-29-2005 01:47 PM
Is this safe enough? koyi Linux - Security 4 08-18-2004 10:50 PM
shutting down xNerox Linux - General 1 07-27-2004 02:28 PM
is it safe... violaten Linux - Hardware 1 08-03-2003 02:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:43 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration