LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 06-27-2005, 04:10 AM   #1
thomasfingram
Member
 
Registered: Jun 2005
Location: Cary, NC
Distribution: Fedora Core 4
Posts: 44

Rep: Reputation: 15
Exclamation No shutdown or restart option!


I installed Slackware 10.1 on my sister's computer the other day. She is slowly getting used to it (she's using the KDE), but she is troubled by the lack of a shutdown or reboot button. Actually I was very suprised myself. I think that Gnome has one, but how can I put that into KDE?
 
Old 06-27-2005, 04:45 AM   #2
junme
Member
 
Registered: Oct 2004
Location: ~/.au
Distribution: Mepis Kanotix SUSE
Posts: 189

Rep: Reputation: 31
in KDE control center >.. KDE components >..session manager
check ---
confirm logout
offer shutdown options

defult shutdown option > end current sesion
 
Old 06-27-2005, 07:52 AM   #3
formohan
LQ Newbie
 
Registered: Apr 2005
Location: Chennai, India.
Distribution: Novell Linux Desktop 9
Posts: 13

Rep: Reputation: 0
shutdown / Restart

hi
you can use the command " init 0 " in the terminal / konsole to shutdown ur linux box/machine and the command " init 6 " to reboot the linux machine.

Last edited by formohan; 06-27-2005 at 07:55 AM.
 
Old 06-27-2005, 08:14 AM   #4
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 46
edit /etc/inittab . Now see that line that says:


# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:

Change it to:


# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

it will now load the graphical login manger when you boot up , then ifs kdm then in kde there will be an option to shutdown or reboot when u choose to logoff


http://shilo.is-a-geek.com/slack/graphic11.html
 
Old 06-27-2005, 08:47 AM   #5
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
This is probably because your sister is using slackware as some user and not root. Many distributions don't allow users to reboot/shut down.
 
Old 06-27-2005, 04:25 PM   #6
thomasfingram
Member
 
Registered: Jun 2005
Location: Cary, NC
Distribution: Fedora Core 4
Posts: 44

Original Poster
Rep: Reputation: 15
I set my sister up with KDE for it's ease of use and Windows likeness. Even when I login as root with the KDE, I can't find an option to shut down or reboot. But when I login with Gnome running as my X, there it is. Icons that say Reboot and Shutdown! What I was wondering is how can I get those in KDE?
 
Old 07-19-2005, 03:41 AM   #7
abunsair
Registered User
 
Registered: Jul 2005
Posts: 56

Rep: Reputation: 15
in console

shutdown -h now
 
Old 07-19-2005, 09:34 AM   #8
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
If you want the buttons for this, simply edit the file /etc/sysconfig/desktop to look like this (you'll need to be root):

DESKTOP="KDE"
DISPLAYMANAGER="KDE"

Now you'll have a nice little option when you choose to shutdown, letting you log off, shutdown, or reboot...

Good luck!
 
Old 07-19-2005, 11:20 AM   #9
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Quote:
Originally posted by jeffreybluml
If you want the buttons for this, simply edit the file /etc/sysconfig/desktop to look like this (you'll need to be root):

DESKTOP="KDE"
DISPLAYMANAGER="KDE"

Now you'll have a nice little option when you choose to shutdown, letting you log off, shutdown, or reboot...

Good luck!
This method does not work with Slack, its fedora specific. heema's solution seems to be the best in my opinion.
 
Old 07-20-2005, 07:28 AM   #10
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
The reason you do not see the shutdown / reboot option is probably because you use GDM as your display manager, and KDE as your desktop...

You can change your LoginManager to KDM, or you can display the buttons in GDM.
For changing your loginmanager in slack, go to your /etc/rc.d and edit the rc.4
Comment out the lines that start GDM (something like, "lets see if gdm is installed")

If you want the buttons in the login screen, use gdmsetup and enable the buttons there.
Now, if you are in KDE, logout and when you get in the login screen, you can hit the "System" button and choose if you want to reboot or poweroff
 
Old 07-20-2005, 10:21 AM   #11
avenolpey
LQ Newbie
 
Registered: Jun 2005
Posts: 9

Rep: Reputation: 0
Maybe slackware is a little essoteric for a newbie. Ubuntu might make more sense. Especially since they maintain such a solid package application disti. Still run KDE. The package manager will make finding and installing apps much easier.
 
Old 07-20-2005, 01:13 PM   #12
AresXP
Member
 
Registered: Jun 2005
Location: New Brunswick, Canada
Distribution: Slackware
Posts: 34

Rep: Reputation: 15
Quote:
Originally posted by avenolpey
Maybe slackware is a little essoteric for a newbie. Ubuntu might make more sense. Especially since they maintain such a solid package application disti. Still run KDE. The package manager will make finding and installing apps much easier.
That's why we, Slackers have swaret
 
Old 07-20-2005, 04:21 PM   #13
speel
Member
 
Registered: Apr 2004
Location: queens , nyc
Distribution: Slackware , Ubuntu
Posts: 349

Rep: Reputation: 30
well what i do in slackware is kill x then type su then i type halt then boom system shut down
 
Old 07-27-2005, 05:35 PM   #14
juanjavier_xxx
Member
 
Registered: Aug 2004
Location: Madrid, Spain
Distribution: Debian stable.
Posts: 186

Rep: Reputation: 30
Quote:
Abunsair wrote:

in console
shutdown -h now


Quote:
Formohan wrote:
you can use the command " init 0 " in the terminal / konsole to shutdown
Both are the options I use. The computer shuts down automatically.

Quote:

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

it will now load the graphical login manger when you boot up , then ifs kdm then in kde there will be an option to shutdown or reboot when u choose to logoff
Very accurate as well.

Greetings,
Juan Javier.
 
  


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
Shutdown.....but it restart max_232 Linux - Laptop and Netbook 2 07-08-2005 05:32 AM
Solaris and restart option zillah Solaris / OpenSolaris 9 04-28-2005 03:02 PM
Add ' Restart X Server ' option to kdm Brian1 Linux - Software 7 04-23-2005 05:58 PM
Weird restart option. please help me thtr2k Linux - General 5 03-25-2005 10:04 PM
shutdown & restart linuxzouk Linux - Newbie 2 06-11-2004 06:03 AM


All times are GMT -5. The time now is 08:52 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration