Operating Systems > Linux and UNIX
Monitor Poweroff in KDE
voidmain:
First of all, I hope you aren't really using the "halt" command. Especially from within X. This would not be the suggested method. The suggested method would be to log out of X and if you are running a graphical login, use the "shutdown or shutdown/restart" options. If you are not running a graphical login you can just press CTRL+ALT+DEL which will cause the system to perform a proper shutdown/restart (actually it puts sets the "init" level to 6 which is a shutdown/restart). Optionally if you are logged in as root you can type "init 0" which will do a shutdown or an "init 6" which will do a shutdown/restart. On my laptops when I do a "shutdown" it actually powers itself off. I just got a new Latitude with the same video card you have in yours. I really like it and was able to get it working perfectly both undocked and docked in a CPORT II docking station with a 19" monitor. Had to add a tag to the /etc/X11/XF86Config-4 file to get it to work with the external monitor though (Option "Display" "BIOS") under the "Screen" section. Other than that, piece of cake (I'm am running RedHat 7.2 though).
dbl221:
shutdown -h now
will shutdown Linux and most Unix systems. As for the machine powering completely down........this is hardware dependent, but the above comand will work in most cases........if it doesn't then its your hardware.
voidmain:
Well, in Slowaris it would be "shutdown -y -i0 -g0", but I digress.
Calum:
quote:Originally posted by dbl221:
shutdown -h now
will shutdown Linux and most Unix systems. As for the machine powering completely down........this is hardware dependent, but the above comand will work in most cases........if it doesn't then its your hardware.
--- End quote ---
okleydokley boss, is there a file that i can add this line to to make it happen automatically when i shut down?
VoidMain, i am really not sure of the appropriate syntax for what i am really doing. I currently have the system set to start X automatically when i switch on, this brings up a red hat graphical login screen. i log in, do my thing, then when i log out, i get taken back to the login screen here. This login screen has options for logging in with GNOME and with KDE, and with something else too... not sure what.
Anyway, here i am at the login screen, there's a little menubar, one of the tabs is called "System" i think (i can't check as i'm not at home right now) and when you look in the "System" menu, you get two options, Halt, and Reboot. Since i don't want to reboot the machine, i choose Halt.
The result is that the hard disk light goes for about 15 seconds (presumably while everything is unmounted, killed et c, whatever, i don't know which F* keys to use to check what it's doing) then stops. The screen is left on the login screen, but with no mouse, no nothing. This leads me to believe that the system has safely shut down (certainly i don't see any "panic panic! help help!" style messages the next time i start up) but how to get it to automatically shut down the physical machine too? or at least get rid of the login screen?
is there a line i can add somewhere? if so where?
thanks for yr answers guys! it's very encouraging. I just downloaded the red hat 7 getting started pdf so that's 250-odd pages of readin i will be doing now!
voidmain:
Calum, it sounds like it's not really shutting down. If it was, you should see several of those green "[OK]" messages when it stops all the services (just like when it starts the services at startup. When you say "login" prompt, are you referring to the graphical or text based login prompt? If it shuts down Xwindows and you still have a text based login prompt what happens when you press CTRL+ALT+DEL? If it is the graphical login prompt you are referring to what happens when you press CTRL+ALT+F1?
Navigation
[0] Message Index
[*] Previous page
Go to full version