LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-27-2004, 12:47 AM   #1
NickC
Member
 
Registered: Nov 2003
Location: Portland, OR, USA
Posts: 111

Rep: Reputation: 15
Dumb question: how to shutdown from KDE?


Newbie question which I was unable to find an answer in search. How do you do a basic shutdown from KDE? I did Menu -> Logoff, but it gave me no option to shutdown or reboot. Only to logout. I know I should be able to open a shell and execute shutdown -h now, but there must be an easier way to do it through the main menu.
 
Old 05-27-2004, 01:42 AM   #2
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
If you use kdm as your display manager, KDE will give you the option to shutdown from the K menu. If you use gdm or something else, I'm not sure if there is a menu option to do so... You could give your user access to those commands and create a kde launcher to shutdown if you really wanted to I guess...
 
Old 05-27-2004, 01:49 AM   #3
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 658

Rep: Reputation: 30
really, the question is not a dumb one. Lots of newbies get stuck on this!!

u need kdm for that option to appear

Last edited by vinay_s_s; 05-27-2004 at 09:23 AM.
 
Old 05-27-2004, 08:11 AM   #4
NickC
Member
 
Registered: Nov 2003
Location: Portland, OR, USA
Posts: 111

Original Poster
Rep: Reputation: 15
Okay thanks. I'm not sure what display manager my KDE is using - I'll check that when I get a chance. Coming from the Windows world, this concept of different desktops and different display managers is new!
 
Old 05-27-2004, 09:22 AM   #5
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 658

Rep: Reputation: 30
i understand the frustration and helplessness. Also i did a typo i actually wanted to tell that the question is not a dumb one and a bit tricky to solve, thats why newbies get stuck there. Really sorry for the typo. I'll edit it now.
 
Old 05-27-2004, 09:29 AM   #6
colnago
Member
 
Registered: Nov 2003
Location: Canada
Distribution: ArchLinux
Posts: 324

Rep: Reputation: 30
If you do logout, then what ever dm you are using should have a shutdown or reboot option. You can make a desktop icon or menu item to shutdown/reboot using the halt/reboot command. You might need to change the permissions on it and specify the full path (/sbin/halt and /sbin/reboot).
 
Old 05-27-2004, 01:15 PM   #7
NickC
Member
 
Registered: Nov 2003
Location: Portland, OR, USA
Posts: 111

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by vinay_s_s
i understand the frustration and helplessness. Also i did a typo i actually wanted to tell that the question is not a dumb one and a bit tricky to solve, thats why newbies get stuck there. Really sorry for the typo. I'll edit it now.
No problem. Kinda figured you left out the word "not" before dumb based on your context!

Quote:
Originally posted by colnago
If you do logout, then what ever dm you are using should have a shutdown or reboot option. You can make a desktop icon or menu item to shutdown/reboot using the halt/reboot command. You might need to change the permissions on it and specify the full path (/sbin/halt and /sbin/reboot).
I don't know when and how I did this, but now when I logout (or startup), I just get this very basic window for userid and password. I used to have a more detailed window that let me choose to shutdown/reboot or let me log in and choose which desktop I wanted to use. I have no idea how this happened because I wasn't consciously playing with login and logout options.
 
Old 05-27-2004, 06:35 PM   #8
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 658

Rep: Reputation: 30
ok i think in the contrl center, in either system or something else, search for "Display Manager" section.
There u can select between GDM, KDM , MDM. Choose KDM!!
 
Old 05-27-2004, 11:44 PM   #9
NickC
Member
 
Registered: Nov 2003
Location: Portland, OR, USA
Posts: 111

Original Poster
Rep: Reputation: 15
I think I found it under the "configure your desktop" / System / Login Manager /

There is a pull-down menu that says GUI style within the Appearance tab. Is this it? Because there is no GDM or KDM here. I searched the configure your desktop window for KDM and it brought me to this same place. Under the GUI I see things like:

B3/KDe
KDE default
High Color Default
etc

Mine just said <default.>

EDIT: I don't think this is it, because i saw the same options in the Style section. Changed mine to Keramik - niiice!

Last edited by NickC; 05-27-2004 at 11:51 PM.
 
Old 05-28-2004, 12:53 AM   #10
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
Quote:
Originally posted by NickC
I think I found it under the "configure your desktop" / System / Login Manager /
Close, but thats not exactly what you are looking for. Thats the configuration module for KDM, which you don't have enabled right now from what you are describing.

Instead of opening "Configure my desktop", open "Configure my computer" then look for a display manager menu in there. You ought to be able to set your system to use KDM in there.

Then, once you have KDM enabled, you can play with its settings in the configuration module you found earlier.
 
Old 05-28-2004, 05:19 AM   #11
presemt_arms
Member
 
Registered: Sep 2003
Distribution: pclinuxos pre8, dynabolic, knoppix 3.6, k12 ltsp, ubuntu
Posts: 54

Rep: Reputation: 15
what u could do is this... on right click kde desktop... create a new application link... in the application field type su -c halt... and close... on clicking this it should as for root password... type in and hit enter... comp should close... similar can be done for reboot command... if u prefere you can use shutdown -h now or shutdown -r now but without the su -c as it will think that -h is a usr and refuse :d home this helps a little
 
Old 05-28-2004, 08:19 AM   #12
NickC
Member
 
Registered: Nov 2003
Location: Portland, OR, USA
Posts: 111

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by sorrodos
Close, but thats not exactly what you are looking for. Thats the configuration module for KDM, which you don't have enabled right now from what you are describing.

Instead of opening "Configure my desktop", open "Configure my computer" then look for a display manager menu in there. You ought to be able to set your system to use KDM in there.

Then, once you have KDM enabled, you can play with its settings in the configuration module you found earlier.
Okay, I'll do that next time I log on! Thanks.

Quote:
Originally posted by presemt_arms
what u could do is this... on right click kde desktop... create a new application link... in the application field type su -c halt... and close... on clicking this it should as for root password... type in and hit enter... comp should close... similar can be done for reboot command... if u prefere you can use shutdown -h now or shutdown -r now but without the su -c as it will think that -h is a usr and refuse :d home this helps a little
Yes, this should work. In the area Configure Desktop / System / Login Manager/ I did notice a tab which had different permission levels for root vs user for executing halt and reboot commands, but I didn't mess with those just yet. I think I'd like to come up with a way that didn't require typing in root password to shutdown/reboot - just a second level verification to make sure I don't shutdown/reboot accidentally.

Last edited by NickC; 05-28-2004 at 08:21 AM.
 
Old 05-28-2004, 11:39 AM   #13
presemt_arms
Member
 
Registered: Sep 2003
Distribution: pclinuxos pre8, dynabolic, knoppix 3.6, k12 ltsp, ubuntu
Posts: 54

Rep: Reputation: 15
yea i understand that dunno if u can write a small script to that effect though (i know it's possible just don't know how) something along the lines of

input"are you sure (y/n)" if key=y then halt else close

sort of thing...

good luck

Alie
 
Old 05-28-2004, 12:59 PM   #14
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 658

Rep: Reputation: 30
dude!!! the control center i was talking is the Mandrake Control Center (not the kde control center)
login as root and run mcc
 
Old 05-28-2004, 01:16 PM   #15
NickC
Member
 
Registered: Nov 2003
Location: Portland, OR, USA
Posts: 111

Original Poster
Rep: Reputation: 15
Yeah, I kinda figured this what you meant after I had to post the EDIT above (after I discovered I was actually changing styles). But I haven't had a chance to log back in since then, so I'll do that when I get home this evening. I'll post back the results.
 
  


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
Really dumb KDE question roc Linux - Software 3 07-12-2005 09:12 AM
Sorry dumb question - how to start graphical root session in KDE OrganicOrange84 Linux - Newbie 4 08-16-2004 06:29 AM
dumb KDE taskbar question Surfmonkey Linux - Newbie 5 03-29-2004 09:38 PM
SLOW KDE and DUMB MOuSE dzt Linux - Newbie 1 10-15-2003 09:15 AM
dumb KDE 3.1 question lockejr Linux - General 1 02-01-2003 09:51 AM

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

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