LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-02-2004, 08:33 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
A few easy to answer questions


1. What is the correct shutdown command? I have been doing " shutdown -h now " and that dosnt work. It only says shutdown and I have to hit the power button.
2. How can I add a shutdown and reboot menu to the KDE menu in slack?
3. How can I get rid of that horrible flower password login screen? I remeber in older versions of KDE you could change it but the menu system is different now.
Thanks
 
Old 01-02-2004, 09:15 PM   #2
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Rep: Reputation: 30
1.: sorry I post you a link...but this is the third thread on _this_ page regarding automatic power off...you didn't even had to hit the search button ^^
http://www.linuxquestions.org/questi...894#post677894
http://www.linuxquestions.org/questi...646#post678646
2+3. edit /etc/rc.d/rc.4
put a # in front of the following lines to change from gdm to kdm:
# Try to use GNOME's gdm session manager:
#if [ -x /usr/bin/gdm ]; then
# exec /usr/bin/gdm -nodaemon
#fi
you can then change it's appearance under KDE's control center, and have a shutdown and reboot menu
 
Old 01-02-2004, 10:03 PM   #3
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Ok I opened up vi and changed over the rc.4 that worked but i already did what was posted about shutting down and all i get is a command line that says " Power Down" and it just sits there presumabley so i can hit the power button.

Last edited by BajaNick; 01-02-2004 at 10:08 PM.
 
Old 01-02-2004, 10:15 PM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Baja

Try adding

apm=power-off

to your append line in the Slackware stanza in lilo.conf - ie for example

append="devfs=mount hdc=ide-scsi acpi=off quiet apm=power-off"

then type

/sbin/lilo

to re-install LILO and the new map

Then use

halt

as Root user to shut the system down........or with KDM you'll get the normal GUI option.

EDIT - Poison's posted my link already - check either.

Last edited by Skyline; 01-02-2004 at 10:20 PM.
 
Old 01-02-2004, 10:35 PM   #5
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I dont have an append line in my lilo.conf file??
Do i make one?

Last edited by BajaNick; 01-02-2004 at 10:37 PM.
 
Old 01-02-2004, 10:41 PM   #6
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Rep: Reputation: 30
append="apm=power-off"

put it somewhere at the beginning, save and run lilo to apply the changes...
 
Old 01-02-2004, 11:02 PM   #7
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I just did it and i get the same thing, just a power down message right after it says flushing drives.?
 
Old 01-02-2004, 11:08 PM   #8
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 46
Re: A few easy to answer questions

Quote:
Originally posted by BajaNick
1. What is the correct shutdown command? I have been doing " shutdown -h now " and that dosnt work. It only says shutdown and I have to hit the power button.
2. How can I add a shutdown and reboot menu to the KDE menu in slack?
3. How can I get rid of that horrible flower password login screen? I remeber in older versions of KDE you could change it but the menu system is different now.
Thanks
1. do an su - in a konsole and then type this:

modprobe apm
-then-
shutdown -h now

Let me know if that shuts it down by itself.

2. I simply have an icon that I use to reboot/shutdown my box.
I have it execute the reboot or shutdown command as root.

3. Don't know.......it don't bother me

Peace,
Whitehat
 
Old 01-03-2004, 12:37 AM   #9
one
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 87

Rep: Reputation: 15
how can you have so many posts and not know that?
 
Old 01-03-2004, 01:50 AM   #10
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Rep: Reputation: 30
if apm fails (although it works on all of my boxes) you still have the option to use acpi...
probably requires to compile a kernel... (can't remember)
If you haven't done this already you'll find a guide at the very top of this forum...well no matter...here's my prefered procedure for 2.4.*: (in short)
cd /usr/src/linux
make menuconfig
make dep clean bzImage modules modules_install
cp System.map /boot/
cat arch/i386/boot/bzImage > /boot/vmlinuz
lilo

Quote:
how can you have so many posts and not know that?
there are several distris that don't require you to learn the basics, I guess ^^
lets just give him a warm welcoming and wish him happy slacking or something like that ^^

Last edited by poison; 01-03-2004 at 02:00 AM.
 
Old 01-03-2004, 02:07 AM   #11
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 46
Quote:
Originally posted by one
how can you have so many posts and not know that?
Who are you talking to? Are you talking to Me, or BajaNick?

If you're taking to me, I don't even care about changing the login screen with the flower........because like I said. It don't bother me.

If you're talking to BajaNick......that's for him to answer.

Peace,
Whitehat
 
Old 01-03-2004, 11:03 AM   #12
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I did " modprobe apm "
then immediatly typed " shutdown -h now " and that worked, So how do i use it to shutdown without haveing to do that everytime, LOL.?
thanks and thanks to everyone else that helped out.

I may have a lot of posts but I have been stuck on RH and Mandrake where everything like this is done for you and you rarely have to use the command line. I just got slack going and it requires more learning and move command line usage than the others and i also didnt really care about doing anything other than using linux to go online and basic stuff without getting the BSOD or illegal program operation crap all the time

Last edited by BajaNick; 01-03-2004 at 11:06 AM.
 
Old 01-03-2004, 11:24 AM   #13
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 46
Quote:
Originally posted by BajaNick
I did " modprobe apm "
then immediatly typed " shutdown -h now " and that worked, So how do i use it to shutdown without haveing to do that everytime, LOL.?
I'm sure there are other ways to do this, but I just put: " modprobe apm " in my rc.local file so it gets run everytime I start up. I don't know if that's the proper way, but that's what I've figured out for now

Peace,
Whitehat
 
Old 01-03-2004, 03:50 PM   #14
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I did that and it works, thanks. Do i have to keep logging in as root to shutdown or is there a way to shutdown as a user? when i shutdown KDE as a user it goes to console then a login prompt.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple (easy to answer) questions phillips321 Linux - Software 10 01-20-2005 08:23 AM
Probably an easy answer to this LOL Linuxfrog Mandriva 2 01-17-2004 06:38 PM
Easy question to answer! Please help alpineidyll Linux - Software 7 11-16-2003 02:42 PM
Easy question to answer BajaNick Programming 3 08-03-2003 05:49 PM
Quick and easy answer please Jimbo Mahoney Linux - General 4 11-20-2001 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:47 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