SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.: 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
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.
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.
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 ^^
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
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.