This is a discussion on Please don't laugh .. but how do I shutdown within the Linux General forums, part of the Linux Forums category; On Tue, 21 Dec 2004 09:32:00 -0500, John <dont@send.me.spam.com> wrote: > Hi, &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Tue, 21 Dec 2004 09:32:00 -0500, John <dont@send.me.spam.com>
wrote: > Hi, > > New to Linux .. just installed Mandrake 10.0. > > I read the manual and it says to logout and I will get the > following dlg with options : > http://doc.mandrakelinux.com/Mandrak...#kde-logout-yn > But, this dlg never appears .. instead I get a 'End Session for > "UserID"' with the options Logout and Cancel. Logout, takes me > back to the login screen. So I can't shutdown there. > > I tried the shutdown command from the shell and got a Command > not Found message. > > From the Run Command dlg, I enter "shutdown" and press enter > and get "Could not run the specified command". > > Is this me doing something wrong? Or is there something wrong > with my setup? > > TIA, John > > Shutdown has to be run as root. # shutdown -h now -r instead of -h to reboot On my Debian box, Ctrl-Alt-Del will do the job. This is the line in my /etc/inittab that causes it to work: ca:12345:ctrlaltdel:/sbin/shutdown -h now That will work as a normal user. AC |
|
|||
|
On Tue, 21 Dec 2004 09:32:00 -0500, John wrote:
> Hi, > > New to Linux .. just installed Mandrake 10.0. > > I read the manual and it says to logout and I will get the following dlg > with options : > http://doc.mandrakelinux.com/Mandrak...#kde-logout-yn > But, this dlg never appears .. instead I get a 'End Session for "UserID"' > with the options Logout and Cancel. Logout, takes me back to the login > screen. So I can't shutdown there. > > I tried the shutdown command from the shell and got a Command not Found > message. > > From the Run Command dlg, I enter "shutdown" and press enter and get "Could > not run the specified command". > > Is this me doing something wrong? Or is there something wrong with my > setup? > > TIA, > John That's pretty funny! The only thing wrong with your setup is that you are way over your head with the so called "user frinedly" Linux. FWIW, just hit the BRS and let the wonderful Linux filesystems recover your data, when and if they come up on the next boot. HTH |
|
|||
|
["Followup-To:" header set to comp.os.linux.advocacy.]
On Tue, 21 Dec 2004 16:35:45 -0500, Linda Wang wrote: > On Tue, 21 Dec 2004 09:32:00 -0500, John wrote: > >> Hi, >> >> New to Linux .. just installed Mandrake 10.0. >> >> I read the manual and it says to logout and I will get the following dlg >> with options : >> http://doc.mandrakelinux.com/Mandrak...#kde-logout-yn >> But, this dlg never appears .. instead I get a 'End Session for "UserID"' >> with the options Logout and Cancel. Logout, takes me back to the login >> screen. So I can't shutdown there. >> >> I tried the shutdown command from the shell and got a Command not Found >> message. >> >> From the Run Command dlg, I enter "shutdown" and press enter and get "Could >> not run the specified command". >> >> Is this me doing something wrong? Or is there something wrong with my >> setup? >> >> TIA, >> John > > That's pretty funny! > The only thing wrong with your setup is that you are way over your head > with the so called "user frinedly" Linux. > > FWIW, just hit the BRS and let the wonderful Linux filesystems recover > your data, when and if they come up on the next boot. > HTH Or get a Real Distribution like Slackware. You know, with stuff that's actually TESTED. -- FreeBSD 4.8-RELEASE i386 3:35PM up 28 days, 20:57, 1 user, load averages: 0.00, 0.01, 0.00 |
|
|||
|
Linda Wang wrote:
> That's pretty funny! > The only thing wrong with your setup is that you are way over your head > with the so called "user frinedly" Linux. > > FWIW, just hit the BRS and let the wonderful Linux filesystems recover > your data, when and if they come up on the next boot. On modern PCs with modern OSes, hitting the "BRS" will shut the machine down gracefully. I do hope that isn't over your head. Paul |
|
|||
|
Linda Wang wrote:
>> I tried the shutdown command from the shell and got a Command not Found >> message. >> >> From the Run Command dlg, I enter "shutdown" and press enter and get >> "Could not run the specified command". >> >> Is this me doing something wrong? Or is there something wrong with my >> setup? >> >> TIA, >> John > No John, the question has been answered before so hopefully you know how to do it now. If you are using KDE you can set your /etc/inittab file to use kdm that will give you the ability to shut down from within kde. > That's pretty funny! > The only thing wrong with your setup is that you are way over your head > with the so called "user frinedly" Linux. Basically what you are saying is that Linux is way over YOUR head. The numerous postings you have made about being unable to get it even going proves that. It doesn't mean that it is over everyones head just those with the iq of a sandlouse. > > FWIW, just hit the BRS and let the wonderful Linux filesystems recover > your data, when and if they come up on the next boot. > HTH That's a windows solution for when the whole thing freezes. -- Don't become so open-minded that your brains fall out. *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* |
|
|||
|
Shutting down is easy.
1) If in GUI (Gnome, KDE etc..) log out of it. 2) You will then either get a login manager screen like GDM or KDM so chose shutdown from the system menu. 3) If logging out of the GUI puts you in a console, type 'halt' or hit ctrl-alt-del to restart. It's not rocket science. -- Jafar Calley -----BEGIN GEEK CODE BLOCK----- d+ s-:+ a C++++ L++ E--- W++ N++ w-- PE- t* 5++ R+ !tv D+ G e* h---- x? ------END GEEK CODE BLOCK------ Registered Linux User #359623 http://fatcat.homelinux.org |
|
|||
|
John wrote:
> If I su root; I can do it. But is that the norm? Shouldn't any user be > able to shutdown the system? Is this because I set the security level to > highest? > > Thanks, > John Set your security to standard, setting it high will limit your access -- faeychild |
|
|||
|
On 2004-12-21, John <dont@send.me.spam.com> wrote:
> When I log in as root it warns me that I should not be logging into a GUI as > root unless I know what I'm doing ... which I obviously don't ;-) > > If I su root; I can do it. But is that the norm? Shouldn't any user be > able to shutdown the system? No; *nix is designed to be multi-user. Allowing anyone to shut down the system could cause multiple other users problems. That said, many modern distributions trap CTRL-ALT-DELETE to force an orderly shutdown. -- John (john@os2.dhs.org) |
|
|||
|
In comp.os.linux.misc jafar <nomorev14gra@idontlike.spam> wrote:
> Shutting down is easy. > > 1) If in GUI (Gnome, KDE etc..) log out of it. > 2) You will then either get a login manager screen like GDM or KDM so > chose shutdown from the system menu. > 3) If logging out of the GUI puts you in a console, type 'halt' or hit > ctrl-alt-del to restart. > > It's not rocket science. No, but shutdown, even from C-A-D, can be using the -a option which requires the shutter-downer to be listed in /etc/shutdown.allow Or.. visudo ALL = NOPASSWD: /sbin/halt Now make a big red icon with that command. -- |
|
|||
|
On Tue, 21 Dec 2004 10:12:21 -0500, John
<dont@send.me.spam.com> wrote: > > "Davide Bianchi" <davideyeahsure@onlyforfun.net> wrote in message > news:slrncsge9g.ekl.davideyeahsure@fogg.onlyforfun .net... >> On 2004-12-21, John <dont@send.me.spam.com> wrote: >>> with the options Logout and Cancel. Logout, takes me back to the login >>> screen. So I can't shutdown there. >> >> There should be a "shutdown" in the lower part of the screen when you >> are in the login screen. Failing that, press CTRL-ALT-F2, login as >> root and then type 'shutdown -h now'. > > Thanks for the quick response. > > There are Reboot and Halt buttons, but they are greyed out. > > When I log in as root it warns me that I should not be logging into a GUI as > root unless I know what I'm doing ... which I obviously don't ;-) > If you press ctrl-alt-f2 and log in, you won't be logging into a GUI. Or you could press ctrl-alt-f2 and then ctrl-alt-delete. On most systems, that will shutdown and reboot. You can hit the power button when it starts to boot, or you can change the "shutdown -r now" in /etc/inittab to "shutdown -h now". -- "Cow fault??? Have you progressed from BSD to BSE?" cowsay -b "Prepare to be assimoolated! " |