LinuxQuestions.org
Review your favorite Linux distribution.
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 04-25-2005, 11:46 AM   #1
MDBlueIce
Member
 
Registered: Aug 2004
Distribution: Suse Linux 9.1
Posts: 47

Rep: Reputation: 15
Shutting Down from KDE


Hello, How do you slackware (10.1, in my case) users shut down your system when you are in KDE ? None of the standard shell commands are working for me ( shutdown -h now, halt , and variants on them ) and the KDE menu has no menu item for shutting down. I've read through these forums that using kdm as dsiplay manager will fix the menu item problem. Is this true for slackware. If so, how is this done? Thanks in advance.
 
Old 04-25-2005, 01:02 PM   #2
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
logout, then click on the 'system' icon in KDM to shutdown.
 
Old 04-25-2005, 01:08 PM   #3
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
I just push the power button. In order to force it off, I need to hold the power button for 3 seconds, otherwise the OS handles it as it's been told. Windows hibernates by default, Linux shuts off.

Gotta love ACPI and ATX support.
 
Old 04-25-2005, 01:27 PM   #4
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
When you right click on the desktop you should have a log out item. If it doesn't shut down all the way and you have to press the power button for 3 seconds, you need to enable power management. I use:

modprobe apm

I compiled apm into my kernel as a module.
 
Old 04-25-2005, 01:36 PM   #5
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
Graphical login:
http://wiki.linuxquestions.org/wiki/...ight_into_X.3F

After you've enabled a graphical login: If you have GDM installed, be aware that Slackware will try to load that first before KDM (unless you comment out the three GDM lines in /etc/rc.d/rc.4)

halt/shutdown, etc are all in /sbin and therefore not in your path. You must call them by prefixing the command with '/sbin/', e.g.
Code:
/sbin/halt
However, you either need to be root to use these, or set up sudo.
 
Old 04-25-2005, 06:17 PM   #6
dannyl
Member
 
Registered: Aug 2003
Location: Near Marion, Ill.
Distribution: Slackware 12.2, Kubuntu, Zenwalk
Posts: 102

Rep: Reputation: 15
I found this with a search of this forum.


as root:

code:

chmod a+s /sbin/shutdown
chmod a+s /sbin/halt



Now any user can use the reboot and shutdown commands. The command reboot is simply a symbolic link to the halt command, which is why the permissions for halt had to be changed.

I then added a menu item for shutdown in KDE menu. (pick your own icon,) with /sbin/shutdown -h in the command line for the added item.
I also added a reboot option the same way. (not that I often need to reboot with Slack, but just in case.
I don't use graphical login so KDM isn't an otion for me. Linux by default does not allow users the shutdown or halt commands.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
shutting down from kde carloscuderia Linux - Newbie 6 04-04-2005 11:47 PM
shutting down from kde (with gdm) death_au Linux - Newbie 4 03-22-2005 04:55 PM
kde shutting down steering Linux - Newbie 1 03-04-2005 04:42 PM
shutting down kde 3 versaulis Linux - Software 6 10-27-2003 08:31 PM
shutting down KDE Druaga Linux - General 3 06-21-2002 10:47 PM

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

All times are GMT -5. The time now is 07:12 AM.

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