shutting down at failsafe login
Hi All, I enabled my Nvidia 3D. It was pretty cool. I was playing Tux Racer and the keys actually responded. Anyway, I went back into TaST to center the screen but when I clicked on the icon for Graphics Cards or Monitors under the Hardware section, the screen went blank. I finally just shut the computer off. As I suspected, it wouldn't boot. So I went into failsafe mode. At the login prompt, I logged in as me. then startx and went into YaST to fix it (don't think it did anything though). Anyway, logged out of KDE and back to the login screen. Now how do I shut down? Exit logs me out, halt does nothing, I'm stuck. Can anyone recommend a good SuSE 9.0 book I can buy? Thanks Russ
At the login prompt, I logged in as root, then halt. Worked fine then. Still won't log in normally though. Thanks Captn Crsh Russ wrote:
Hi All,
I enabled my Nvidia 3D. It was pretty cool. I was playing Tux Racer and the keys actually responded. Anyway, I went back into TaST to center the screen but when I clicked on the icon for Graphics Cards or Monitors under the Hardware section, the screen went blank. I finally just shut the computer off.
As I suspected, it wouldn't boot. So I went into failsafe mode. At the login prompt, I logged in as me. then startx and went into YaST to fix it (don't think it did anything though). Anyway, logged out of KDE and back to the login screen. Now how do I shut down? Exit logs me out, halt does nothing, I'm stuck.
Can anyone recommend a good SuSE 9.0 book I can buy?
Thanks Russ
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 01 Jan 2004 09:18:44 -0800 Russ <bigrig64@comcast.net> wrote:
At the login prompt, I logged in as root, then halt. Worked fine then.
Still won't log in normally though.
Thanks Captn Crsh
Russ wrote:
As I suspected, it wouldn't boot. So I went into failsafe mode. At the login prompt, I logged in as me. then startx and went into YaST to fix it (don't think it did anything though). Anyway, logged out of KDE and back to the login screen. Now how do I shut down? Exit logs me out, halt does nothing, I'm stuck.
Can anyone recommend a good SuSE 9.0 book I can buy? (maybe I'm a purist): The proper way to shutdown a Unix/Linux system from non-graphical mode is to issue the shutdown command. In Linux, shutdown is located in /sbin: as root (or from your account using sudo or su): /sbin/shutdown -h now This will tell the system to properly shutdown now. The command profile is: /sbin/shutdown [-t sec] [-arkhzncfF] time [warning-message]
Time is usually expressed in minutes. In a multi-user system, the admins generally specify a time with a description as a warning for logged in users. One reason to use the shutdown command rather than halt or init 6 or the three finger salute is that shutdown generally issues the sync system call and shuts down your system properly. There are many books on Unix and Linux available in the bookstores or online. The book we use at Northeastern University is the O'Reilly Running Linux 4th Edition. The original authors were Matt Welsh and Lar Kaufman. Matt was the originator of the Linux Documentation project. Lar is a long time member of the Boston Linux and Unix group. I personally think the book is a bit dated, but any text you buy for Linux will be. SuSE comes with nearly all manuals online, but most of the type of things you want are either generic Unix/Linux, Linux, KDE etc, and not specific to SuSE. - -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/9G72+wA+1cUGHqkRAgbZAJ4g/nxPXdLtIhdSeSA5WJPEv3pCwACeKPLq OLwv8a0rrkYtmIo0ZHVeEp4= =Lays -----END PGP SIGNATURE-----
Jerry Feldman <gaf@blu.org> writes:
One reason to use the shutdown command rather than halt or init 6 or the three finger salute is that shutdown generally issues the sync system call and shuts down your system properly.
Actually, there isn't much difference in the result nowadays since shutdown instructs the init process to go to runlevel 0 or 6 (the same as init does) and halt and Ctrl-Alt-Del invoke shutdown. Classical Unixes behave differently. -- A.M.
The Thursday 2004-01-01 at 14:03 -0500, Jerry Feldman wrote:
One reason to use the shutdown command rather than halt or init 6 or the three finger salute is that shutdown generally issues the sync system call and shuts down your system properly.
from man halt: Halt notes that the system is being brought down in the file /var/log/wtmp, and then either tells the kernel to halt, reboot, poweroff or suspend the system. If halt or reboot is called when the system is not in runlevel 0 or 6, shutdown(8) will be invoked instead (with the flag -h or -r). So it is the same, and shorter to type. And about the three finger salute, file '/etc/inittab' contains this: # what to do when CTRL-ALT-DEL is pressed ca::ctrlaltdel:/sbin/shutdown -h -t 4 now So it is also the same. -- Cheers, Carlos Robinson
participants (4)
-
Alexandr Malusek
-
Carlos E. R.
-
Jerry Feldman
-
Russ