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/MandrakeLinux/100/en/Starter.html/ch05s06.html#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
|
|
0
|
|
|
|
Reply
|
dont7376 (3)
|
12/21/2004 2:32:00 PM |
|
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'.
> I tried the shutdown command from the shell and got a Command not Found
> message.
You must be root.
Davide
--
Linux; a re-Gnu-able resource.
-- Gareth Barnard
|
|
0
|
|
|
|
Reply
|
davideyeahsure (1281)
|
12/21/2004 2:55:17 PM
|
|
begin John dedi ki:
--8<--
> 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.
There's no option (or sub-option) for halt at the main login screen?
Anyway, Mandrake runs its own display manager (MdkKDM) by default,
which is too dumbed down, instead of standard KDE display manager
(KDM). One of the first things I do after a fresh Mandrake
installation is, changing it back to KDM, as follows:
Configure your computer (aka "drakconf" command) -> System -> Display
Manager : Choose KDM here.
Then it should work as expected.
> I tried the shutdown command from the shell and got a Command not Found
> message.
First become root (administator) with the "su -" command (it asks for
root password) before issuing "halt" command.
--
Abdullah | aramazan@ |
Ramazanoglu | myrealbox |
________________| D.0.T c�m |__
|
|
0
|
|
|
|
Reply
|
abdullah4 (605)
|
12/21/2004 3:02:03 PM
|
|
"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 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
|
|
0
|
|
|
|
Reply
|
dont7376 (3)
|
12/21/2004 3:12:21 PM
|
|
In comp.os.linux.misc <BtWxd.13129$GK5.856121@news20.bellglobal.com> John <dont@send.me.spam.com> wrote:
> Is this me doing something wrong? Or is there something wrong with my
> setup?
Nothing wrong, the option's probably just hidden. Places to try:
1. When you log out, see if there's a radio button for "shut down"
instead of "log out".
2. On the main login screen, see if under one of the menus there's a
"shut the system down" item. You may need to find a "configure" item and
enable the ability in the configuration first.
3. Use the "shutdown" command ("shutdown -h now" would be the normal
invocation for "shut down and halt the computer now"). You'll need to be
logged in as root to do this since a) normal users don't have the
privilege to shut the system down and b) the command's not in a
directory visible in an ordinary user's path. I usually go to a console
(via Alt-F1, Ctrl-Alt-F1 or Alt-SysRq-F1 depending on setup), and log in
as root there to do this or doing "su --login root" or "su -" will do
the trick.
--
All I want out of the Universe is 10 minutes with the source code and
a quick recompile.
-- unknown
|
|
0
|
|
|
|
Reply
|
tknarr (46)
|
12/21/2004 3:21:31 PM
|
|
John 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'.
> There are Reboot and Halt buttons, but they are greyed out.
meaning you dont have permission to shutdown. if you go )kde, i assume) :
control center -> sys admin -> login manager -> shutdown
you can specify who can shutdown
> 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 ;-)
yea, you shouldnt
--
<< http://michaeljtobler.homelinux.com/ >>
"Gee, Toto, I don't think we are in Kansas anymore."
|
|
0
|
|
|
|
Reply
|
mjtobler2 (1042)
|
12/21/2004 3:45:59 PM
|
|
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?
I haven't got Mandrake so I can't offer specific advice there but on
Fedora and Redhat halt, poweroff and reboot can be run as a normal user
by someone logged in directly (i.e. physically) on the machine but not
if logged in from the network.
--
Paul Black mailto:paul.black@oxsemi.com
Oxford Semiconductor Ltd http://www.oxsemi.com
25 Milton Park, Abingdon, Tel: +44 (0) 1235 824 909
Oxfordshire. OX14 4SH Fax: +44 (0) 1235 821 141
|
|
0
|
|
|
|
Reply
|
nospam255 (147)
|
12/21/2004 4:00:45 PM
|
|
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?
Remember that Linux is by nature a multi-user system. You could have
users connected to ssh sessions over the network (for example), as well
as the local user(s). If anyone could shut down the system, some of
those users may find their sessions abrubtly terminated.
So what you are seeing is more-or-less normal behaviour. In general,
users should *not* be able to shut down the system unless they've been
specifically granted that right (e.g., through the KDE control panel or
by giving them the root password).
|
|
0
|
|
|
|
Reply
|
jpstewart (2598)
|
12/21/2004 4:26:09 PM
|
|
"John" <dont@send.me.spam.com> wrote in message
news:p3Xxd.9678$Z%3.459445@news20.bellglobal.com...
>
> "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 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?
>
There is always the good old reliable command line options.
Open a "terminal window" and
su -
# to login as root
init 0 # shuts down & powers off the box
init 1 # takes you to single user mode & needs a "console" attached in this
mode
init 6 # reboots
man init # for RTFM
|
|
0
|
|
|
|
Reply
|
anacedent (475)
|
12/21/2004 5:37:01 PM
|
|
On 2004-12-21, John <dont@send.me.spam.com> wrote:
>
> New to Linux .. just installed Mandrake 10.0.
Welcome. We were all newbies once, some of us more recently
than others.
> I read the manual and it says to logout and I will get the following dlg
> with options :
> http://doc.mandrakelinux.com/MandrakeLinux/100/en/Starter.html/ch05s06.html#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?
Do you have the 'usermode' package installed?
Are you using runlevel 3 (text login) or runlevel 5
(graphical login)? If runlevel 3, using startx to start X,
you need to _not_ exit from the text console. Either that,
or you have to do a lot of tweaks to a whole bunch of
configuration files.
Good luck.
Robert Riches
spamtrap42@verizon.net
(Yes, that is one of my email addresses.)
|
|
0
|
|
|
|
Reply
|
spamtrap42 (1175)
|
12/21/2004 8:20:14 PM
|
|
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/MandrakeLinux/100/en/Starter.html/ch05s06.html#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
|
|
0
|
|
|
|
Reply
|
zzzzzz (1897)
|
12/21/2004 8:37:22 PM
|
|
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/MandrakeLinux/100/en/Starter.html/ch05s06.html#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
|
|
0
|
|
|
|
Reply
|
sleepy_n_sweet (38)
|
12/21/2004 9:35:45 PM
|
|
["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/MandrakeLinux/100/en/Starter.html/ch05s06.html#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
|
|
0
|
|
|
|
Reply
|
generalpf (2660)
|
12/21/2004 9:39:54 PM
|
|
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
|
|
0
|
|
|
|
Reply
|
nospam5 (163)
|
12/21/2004 10:05:13 PM
|
|
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.
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
|
|
0
|
|
|
|
Reply
|
thor8710 (66)
|
12/21/2004 10:17:45 PM
|
|
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
|
|
0
|
|
|
|
Reply
|
nomorev14gra (74)
|
12/21/2004 10:19:11 PM
|
|
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.
> HTH
My word, I suppose that that is very funny, "Linda".
One would have thought Linux would be clever enough to have a "Start"
button to click when you wanted to Stop - yes?:-)
In case you missed one of the replies in the group from which you
cross-posted, I reproduce it below. To me, it seemed very sensible
and very telling.
Hope *this* helps:-)
Bill
John-Paul Stewart wrote:
> Remember that Linux is by nature a multi-user system. You could
> have users connected to ssh sessions over the network (for example),
> as well
> as the local user(s). If anyone could shut down the system, some of
> those users may find their sessions abrubtly terminated.
>
> So what you are seeing is more-or-less normal behaviour. In
> general, users should *not* be able to shut down the system unless
> they've been specifically granted that right (e.g., through the KDE
> control panel or by giving them the root password).
|
|
0
|
|
|
|
Reply
|
bbgruff (6628)
|
12/21/2004 10:20:07 PM
|
|
In article B Gruff says...
> 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.
> > HTH
>
> My word, I suppose that that is very funny, "Linda".
> One would have thought Linux would be clever enough to have a "Start"
> button to click when you wanted to Stop - yes?:-)
ROFLMAO you stoopid Loonix user. Big red switch - off button on front of
case. Linux ACPI is so fucked up that hitting the switch does fuck all
unlike Windows where it gracefully shuts down the OS.
Oh, have you managed to get power management working on laptops yet?
--
Conor
A man alone in the forest is talking to himself and no women around to
hear him. Is he still wrong?
|
|
0
|
|
|
|
Reply
|
conor.turton (869)
|
12/21/2004 10:44:36 PM
|
|
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
|
|
0
|
|
|
|
Reply
|
phobos (100)
|
12/21/2004 10:47:55 PM
|
|
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)
|
|
0
|
|
|
|
Reply
|
john5722 (444)
|
12/21/2004 10:58:29 PM
|
|
Conor wrote:
> In article B Gruff says...
>> 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.
>> > HTH
>>
>> My word, I suppose that that is very funny, "Linda".
>> One would have thought Linux would be clever enough to have a "Start"
>> button to click when you wanted to Stop - yes?:-)
>
> ROFLMAO you stoopid Loonix user. Big red switch - off button on front of
Spoken like a true billy goat bum boy.
Windopes know all too well what that button is for having to
listen to billy goat's dick telling them to press that button all day.
And then they pay.
|
|
0
|
|
|
|
Reply
|
website_has_email2 (2088)
|
12/21/2004 11:12:03 PM
|
|
Conor wrote:
> In article B Gruff says...
>> 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.
>> > HTH
>>
>> My word, I suppose that that is very funny, "Linda".
>> One would have thought Linux would be clever enough to have a
>> "Start" button to click when you wanted to Stop - yes?:-)
>
> ROFLMAO you stoopid Loonix user. Big red switch - off button on
> front of case. Linux ACPI is so fucked up that hitting the switch
> does fuck all unlike Windows where it gracefully shuts down the OS.
Good heavens - is that the way that they are teaching it in your
school, Conor? The power switch always used to be the last resort,
although its use was quite frequent in the days of Windows, which
used to freeze quite frequently, of course. I must admit, I rather
miss all those "Please close Windows down properly next time"
admonishments, and the reassuring pretty picture as it "checked my
drives".
I think that you are being a bit harsh referring to Linda as a
"stoopid Loonix user", though - I don't think that she uses Linux,
does she?
- and anyway, I think that she's just as clever as you are.
Bill
Bill
|
|
0
|
|
|
|
Reply
|
bbgruff (6628)
|
12/21/2004 11:34:52 PM
|
|
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.
--
|
|
0
|
|
|
|
Reply
|
winua (8)
|
12/21/2004 11:58:31 PM
|
|
begin Error log for Tue, 21 Dec 2004 22:44:36 +0000: Conor caused a Page
Fault at address <MPG.1c32b7adc0e35c9a9898ae@news.giganews.com>,
details...
> In article B Gruff says...
>> 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. HTH
>>
>> My word, I suppose that that is very funny, "Linda". One would have
>> thought Linux would be clever enough to have a "Start" button to click
>> when you wanted to Stop - yes?:-)
>
> ROFLMAO you stoopid Loonix user. Big red switch - off button on front of
> case. Linux ACPI is so fucked up that hitting the switch does fuck all
> unlike Windows where it gracefully shuts down the OS.
"Gracefully"? Is that why so many people want to know howto disable this
"feature" when an accidental tap causes the system to power down right in
the middle of a session?
Yes, Linux has this "feature" as well, why anyone would want it is beyond
me, especially if they have children. Hopefully, this excludes you.
> Oh, have you managed to get power management working on laptops yet?
Yes, have you?
--
rapskat - 20:38:48 up 3 days, 13:01, 3 users, load average: 0.28, 0.57, 0.92
Keep it short for pithy sake.
|
|
0
|
|
|
|
Reply
|
rapskat (1101)
|
12/22/2004 1:43:19 AM
|
|
On 2004-12-21, Conor <conor.turton@gmail.com> sputtered:
> In article B Gruff says...
>> My word, I suppose that that is very funny, "Linda".
>> One would have thought Linux would be clever enough to have a "Start"
>> button to click when you wanted to Stop - yes?:-)
>
> ROFLMAO you stoopid Loonix user. Big red switch - off button on front of
> case. Linux ACPI is so fucked up that hitting the switch does fuck all
> unlike Windows where it gracefully shuts down the OS.
Or not work at all. Which is often. 11 outta 12 at $JOB when last I
checked.
> Oh, have you managed to get power management working on laptops yet?
No. I don't use a laptop. Evidently it works, though, because it shuts
crap down on my machine unless I remember to uninstall it or not
install it in the first place.
--
MS-Blaster - Innovative Microsoft peer-to-peer software.
|
|
0
|
|
|
|
Reply
|
sinister2419 (3164)
|
12/22/2004 2:22:38 AM
|
|
In article B Gruff says...
>
> Good heavens - is that the way that they are teaching it in your
> school, Conor? The power switch always used to be the last resort,
> although its use was quite frequent in the days of Windows, which
> used to freeze quite frequently, of course.
OH MY GOD. Have you never heard of ACPI in Linux? It allows you to do
nifty things like set the OS up so that when you press the power button
on the PC it can put it in standby, hibernation or shut it down in the
same way as you'd shut it down from the start button.
But seeing as its broke in Linux, I guess you've not experienced this
wonderful ability.
--
Conor
A man alone in the forest is talking to himself and no women around to
hear him. Is he still wrong?
|
|
0
|
|
|
|
Reply
|
conor.turton (869)
|
12/22/2004 2:51:14 AM
|
|
In article rapskat says...
>
> "Gracefully"? Is that why so many people want to know howto disable this
> "feature" when an accidental tap causes the system to power down right in
> the middle of a session?
>
<snigger>
Another linux looser demonstrating a complete lack of knowledge about
ACPI.
That is "gracefully" as in exactly the equivalent of what happens when
you click Start, Shutdown.
--
Conor
A man alone in the forest is talking to himself and no women around to
hear him. Is he still wrong?
|
|
0
|
|
|
|
Reply
|
conor.turton (869)
|
12/22/2004 2:52:46 AM
|
|
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! "
|
|
0
|
|
|
|
Reply
|
bmarcum2 (884)
|
12/22/2004 2:57:36 AM
|
|
begin Linda Wang wrote:
> That's pretty funny!
There's nothing amusing about Flounder.
> FWIW, just hit the BRS
The technique perfected by Microsoft in the early 1980s.
--
"[Saying spam saves resources is] like claiming car theft prevents over
wear of bicycle parts on the theory that car thieves would be riding
bikes if they weren't stealing cars."
-- Wm James. In <drh9c09r7je9sdr0aha81pkgkdnop61ou3@4ax.com>.
|
|
0
|
|
|
|
Reply
|
hamilcar2 (2631)
|
12/22/2004 3:41:16 AM
|
|
Conor voiced his/her/it's humble opinion in comp.os.linux.advocacy on Tue
21 Dec 2004 03:44:36p:
> In article B Gruff says...
>> 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.
>> > HTH
>>
>> My word, I suppose that that is very funny, "Linda".
>> One would have thought Linux would be clever enough to have a "Start"
>> button to click when you wanted to Stop - yes?:-)
>
> ROFLMAO you stoopid Loonix user. Big red switch - off button on front
of
> case. Linux ACPI is so fucked up that hitting the switch does fuck all
> unlike Windows where it gracefully shuts down the OS.
>
> Oh, have you managed to get power management working on laptops yet?
>
Jeez man, what kind of case were you using? Must be using a copy of an
old XT case (C~1985). A chinese copy, I'll wager, as the original had
the big red button on the back on the power supply. I seem to recall
stuffing an AT mother board in one and using my Dremel tool to carve out
some space in the front for a CD drive. One of my first mods, really
takes me back....
Later......
Labrat...... |:^{)
A recent convert to the flightless bird.
|
|
0
|
|
|
|
Reply
|
idontknow1 (165)
|
12/22/2004 5:27:10 AM
|
|
Conor voiced his/her/it's humble opinion in comp.os.linux.advocacy on
Tue 21 Dec 2004 07:52:46p:
> In article rapskat says...
>
>>
>> "Gracefully"? Is that why so many people want to know howto disable
>> this "feature" when an accidental tap causes the system to power down
>> right in the middle of a session?
>>
> <snigger>
>
> Another linux looser demonstrating a complete lack of knowledge about
> ACPI.
>
> That is "gracefully" as in exactly the equivalent of what happens when
> you click Start, Shutdown.
>
>
>
Funny, I hit my equivalent Start button in KDE, > logoff user, and have
the convienience of;
Restart Session
Restart Computer
Shutdown Computer
No MSDOS mode of course. That would make it too easy to get around in
Linux .... sigh
What's really weird tho is that my ACPI works all the way up to my
motherboard's abilities and I never set a single switch. Go figure eh?
Must be a fluke of course eh?
Maybe SuSE assimilated settings from windblows, kind of like BORG?
Doubt it. Never got that crap working in windblows at all. If my
monitor shuts off .... it's reboot time!
Been there and done all that too. Don't work, don't care. Shucking
windblows ASAP. Just need it to get the stuff I need to get my first
real install of Linux rockin'
Later......
Labrat...... |:^{)
A recent convert to the flightless bird.
|
|
0
|
|
|
|
Reply
|
idontknow1 (165)
|
12/22/2004 6:07:22 AM
|
|
begin Conor piddled around and finally wrote:
> In article B Gruff says...
>> 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.
>> > HTH
>>
>> My word, I suppose that that is very funny, "Linda".
>> One would have thought Linux would be clever enough to have a "Start"
>> button to click when you wanted to Stop - yes?:-)
>
> I was dropped on my head as an infant...they said I laughed so hard shit came
> out my mouth!
And still is.
|
|
0
|
|
|
|
Reply
|
Hell5731 (79)
|
12/22/2004 6:55:34 AM
|
|
Hello
Just press Alt+F2 or Run menu fron start and type "init 0" to shutdown
and "init 6" ot restart your pc in linux. its very simple and faster.
Enjoy Working with linux................
Yours,
govindaraj
|
|
0
|
|
|
|
Reply
|
raj_citsp (1)
|
12/22/2004 9:57:42 AM
|
|
In article Labrat says...
> Conor voiced his/her/it's humble opinion in comp.os.linux.advocacy on
> Tue 21 Dec 2004 07:52:46p:
>
> > In article rapskat says...
> >
> >>
> >> "Gracefully"? Is that why so many people want to know howto disable
> >> this "feature" when an accidental tap causes the system to power down
> >> right in the middle of a session?
> >>
> > <snigger>
> >
> > Another linux looser demonstrating a complete lack of knowledge about
> > ACPI.
> >
> > That is "gracefully" as in exactly the equivalent of what happens when
> > you click Start, Shutdown.
> >
> >
> >
>
> Funny, I hit my equivalent Start button in KDE, > logoff user, and have
> the convienience of;
>
> Restart Session
> Restart Computer
> Shutdown Computer
>
> No MSDOS mode of course. That would make it too easy to get around in
> Linux .... sigh
>
> What's really weird tho is that my ACPI works all the way up to my
> motherboard's abilities and I never set a single switch. Go figure eh?
>
> Must be a fluke of course eh?
>
Press the power switch on your PC...what happens? NOTHING.
--
Conor
A man alone in the forest is talking to himself and no women around to
hear him. Is he still wrong?
|
|
0
|
|
|
|
Reply
|
conor.turton (869)
|
12/22/2004 10:45:34 AM
|
|
On 2004-12-22, Conor <conor.turton@gmail.com> sputtered:
> Press the power switch on your PC...what happens? NOTHING.
Mine turns off. Like the power switch on a lamp does there. Or the
power switch on the TV or the monitor or the garbage disposal.
What do power switches do in your world?
--
They teach classes on using Front Page? That's like a cooking class
where they teach you how to order a pizza!
|
|
0
|
|
|
|
Reply
|
sinister2419 (3164)
|
12/22/2004 12:36:41 PM
|
|
John Thompson wrote:
> 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.
>
Ah John - welcome to the learning curve...
Have you tried multiple logins on the same machine?
Yup - linux allows it
(try CTRL + ALT + Fn) where n = {1, ... 6}
Now on multiple logins you will usually have gui's sitting at CTRL + ALT
+ F7 or higher F's
It really is a lovely OS or range of flavours of OS's
PLUS! Root may be default set to allow adduser (try it at the root
prompt - if u dunno just prod return) BUT root may not have access to
all the software)
PLUS! if you install software for user001 don be surprised if user002
can't access the software PLUS
user00N may not access user00P (where N does not equal P) workreas
with linux (all IMHO as I've only toyed with it for a week or 2) your PC
becomes a multi-user login workstation AND you become the workstation
administrator chief do-er
Articeus
|
|
0
|
|
|
|
Reply
|
spoofed (39)
|
12/22/2004 5:25:09 PM
|
|
John Thompson wrote:
> 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.
>
PS
a) do CTRL ALT F1
b) login as root
c) do CTRL ALT F2
d) login as user001 (or whatever name you gave to first login)
e) at the prompt type
startx
assuming you got X up n running well OR whatever GUI command your
flavour of linux prefers
f) do CTRL ALT F7
hey! Gui!
g) when finished in the GUI do
CTRL ALT F1
h) now back at the root prompt and type
halt
On my linux (vectorlinux 4.3) even when I have induced system crashes
the GUI opens up with saved data. Groovy innit!
Aerticeus
|
|
0
|
|
|
|
Reply
|
spoofed (39)
|
12/22/2004 5:30:28 PM
|
|
Thanks for all the comments.
After the first couple replies, I figured it out .. 'su' to root, then
'shutdown -h now' ... it didn't even occur to me that a user could not shut
down .. I've been using Windows too long.
Another person pointed out that I am 'in over my head with the "user
frinedly" Linux, the comment seemed to imply 'hopelessly over my head'.
Well I am in over my head, intentionally, that's just how I learn, give me a
couple days at it. ;-)
Thanks again,
John
PS-I'm really excited about learning Linux
|
|
0
|
|
|
|
Reply
|
dont7376 (3)
|
12/22/2004 9:28:19 PM
|
|
On Wed, 22 Dec 2004 16:28:19 -0500, John <dont@send.me.spam.com>
wrote:
> Thanks for all the comments.
>
> After the first couple replies, I figured it out .. 'su' to
> root, then 'shutdown -h now' ... it didn't even occur to me
> that a user could not shut down .. I've been using Windows too
> long.
>
> Another person pointed out that I am 'in over my head with the
> "user frinedly" Linux, the comment seemed to imply 'hopelessly
> over my head'.
Probably the idiot troll that has been hanging around.
> Well I am in over my head, intentionally,
> that's just how I learn, give me a couple days at it. ;-)
>
> Thanks again, John
>
> PS-I'm really excited about learning Linux
>
>
Welcome to Linux, John.
Don't get too caught up in that sissy GUI stuff.
:-)
wget http://rute.2038bug.com/rute.html.tar.bz2
I run Linux from the console window-manager screen, and rarely
bring X up or touch a plastic rodent. Even most of my 'web
surfing' is done with a light and fast text-mode browser, because
almost everything I want from the web is text and most of the
graphics are useless eye-candy.
I also use the non-interactive webtool, wget, which is even better.
Get "Learning the bash Shell" 2nd+ edition from OREILLY.
And the Advanced Bash Shellscripting Guide:
wget http://personal.riverusers.com/~thegrendel/abs-guide-2.7.tar.bz2
One day, sooner than you think, you will have the great pleasure of
deleting windoze from your computer (man shred) and sending the
CDs back to Redmond.
AC
|
|
0
|
|
|
|
Reply
|
zzzzzz (1897)
|
12/22/2004 10:58:33 PM
|
|
Conor voiced his/her/it's humble opinion in comp.os.linux.advocacy on
Wed 22 Dec 2004 03:45:34a:
> In article Labrat says...
>> Conor voiced his/her/it's humble opinion in comp.os.linux.advocacy on
>> Tue 21 Dec 2004 07:52:46p:
>>
>> > In article rapskat says...
>> >
>> >>
>> >> "Gracefully"? Is that why so many people want to know howto
>> >> disable this "feature" when an accidental tap causes the system to
>> >> power down right in the middle of a session?
>> >>
>> > <snigger>
>> >
>> > Another linux looser demonstrating a complete lack of knowledge
>> > about ACPI.
>> >
>> > That is "gracefully" as in exactly the equivalent of what happens
>> > when you click Start, Shutdown.
>> >
>> >
>> >
>>
>> Funny, I hit my equivalent Start button in KDE, > logoff user, and
>> have the convienience of;
>>
>> Restart Session
>> Restart Computer
>> Shutdown Computer
>>
>> No MSDOS mode of course. That would make it too easy to get around
>> in Linux .... sigh
>>
>> What's really weird tho is that my ACPI works all the way up to my
>> motherboard's abilities and I never set a single switch. Go figure
>> eh?
>>
>> Must be a fluke of course eh?
>>
> Press the power switch on your PC...what happens? NOTHING.
>
>
Exactly! I have to hold the power button in for four seconds to force a
reboot or shut down.
This prevents kids, kittens or nimrods like you from messing me up 'cause
you can't stop playing with shiny chrome buttons.
BRS is on the back where it belongs.
Later......
Labrat...... |:^{)
A recent convert to the flightless bird.
|
|
0
|
|
|
|
Reply
|
idontknow1 (165)
|
12/23/2004 3:39:29 AM
|
|
John <dont@send.me.spam.com> wrote:
> After the first couple replies, I figured it out .. 'su' to root, then
> 'shutdown -h now' ... it didn't even occur to me that a user could not shut
> down .. I've been using Windows too long.
I use this in .bash_profile:
if [ `tty` = "/dev/tty1" ]; then
startx
sudo halt
fi
To turn off the power, just logout. /etc/sudoers contains this line:
jvahn ALL=NOPASSWD: /sbin/halt
"halt" performs a "poweroff". Yes, it can be.. umm.. interesting.
Remember "boot: linux single" if you get balled up.
The laptop is set to logout with 5 mins left, a nice clean shutdown.
--
|
|
0
|
|
|
|
Reply
|
jvahn (32)
|
12/23/2004 4:09:09 AM
|
|
Conor wrote:
> In article B Gruff says...
>
>>
>> Good heavens - is that the way that they are teaching it in your
>> school, Conor? The power switch always used to be the last resort,
>> although its use was quite frequent in the days of Windows, which
>> used to freeze quite frequently, of course.
>
> OH MY GOD. Have you never heard of ACPI in Linux? It allows you to
> do nifty things like set the OS up so that when you press the power
> button on the PC it can put it in standby, hibernation or shut it
> down in the same way as you'd shut it down from the start button.
Ah dear - I mustn't be as bright as you are, 'cos I don't understand
some of this:(
When you say "Start Button", do you mean the thing that you click in
Windows when you want to Stop? The "Start-to-stop" button, in fact?
There is a similar thing in Linux, but it works a bit differently. It
can be (and it's sometimes a good idea) configured so that only
certain people can switch off. I'm not too clued-in with these
things, but I reckon it has something to do with Linux being a true
multi-user OS. It could be Wrong for somebody to turn off, because
there could be other people using it.
Once you start to use the Power Switch, one can't program it in Linux
so that only authorised people can press it. I guess Windows has
found a way round that?
> But seeing as its broke in Linux, I guess you've not experienced
> this wonderful ability.
Well, I didn't figure that it was broken (see above), and all of which
might have some bearing on how "wonderful" the facility is, might it
not?
Bill
|
|
0
|
|
|
|
Reply
|
bbgruff (6628)
|
12/27/2004 8:47:28 PM
|
|
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/MandrakeLinux/100/en/Starter.html/ch05s06.html#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
This guy doesn't even know what the root user is. And this is
crossposted to COLA, so I think he should RTFM.
--
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
jkerouac@bgsec.com
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPA�A
The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
-- Jack Kerouac, "On the Road"
|
|
0
|
|
|
|
Reply
|
jkerouac (1264)
|
1/16/2005 5:53:34 PM
|
|
|
42 Replies
38 Views
(page loaded in 0.423 seconds)
|