LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 07-28-2010, 01:40 PM   #1
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
KDE Shutdown Button


I am using Arch Linux with KDE 4.4.5.

The problem is that in the "Leave" tab of the K Menu, there are no "Shutdown" and "Restart" options. I've seen that they do exist in other distros, so why not here?

I'm tired of having to "Logout" (which takes a very long time for some reason) and then typing "sudo shutdown -h now" every time.
 
Old 07-29-2010, 01:03 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,305

Rep: Reputation: 205Reputation: 205Reputation: 205
If your menu is not extended far enough, those options may be hidden.
 
Old 07-29-2010, 04:17 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,049

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Are you using a login manager at all? Some of these options might not be present if there's no display manager active, such as kdm or gdm. You seem to be login in from command line, is that true?

Modern gnome versions that use consolekit to manage this stuff can be run this way, which will give you the ability to manage sessions even if there's no display manager.

Code:
exec ck-launch-session gnome-session
This also grants privileges to processes needing them such as nautilus (to mount drives and that stuff). But I have no idea if kde 4.x has this capability. If not, just use kdm to login.
 
Old 07-29-2010, 06:23 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,139
Blog Entries: 52

Rep: Reputation: Disabled
Quote:
Originally Posted by i92guboj View Post
Are you using a login manager at all? Some of these options might not be present if there's no display manager active, such as kdm or gdm. You seem to be login in from command line, is that true?
Yeah, that's right. From Slack's /etc/inittab:
Code:
#   3 = multiuser mode (default Slackware runlevel)
#   4 = X11 with KDM/GDM/XDM (session managers)
Using runlevel 3 and startx = no restart and shutdown options in KDE menu.
Booting into runlevel 4 = options available.
 
Old 07-29-2010, 07:56 AM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Yes, I log into the GUI using startx.

Do you think it would be worthwhile to install a display manager (probably KDM)?
 
Old 07-29-2010, 08:07 AM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
I installed KDM and everything's fine now.
 
Old 07-29-2010, 09:02 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,049

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Quote:
Originally Posted by MTK358 View Post
Yes, I log into the GUI using startx.

Do you think it would be worthwhile to install a display manager (probably KDM)?
Only you can answer that.

If kde has other means to do session handling then you could use something similar to that solution I posted above for gnome.

If not, then you will have to decide yourself between a lighter login and that features.
 
  


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 button Rita G. Debian 8 02-02-2008 11:45 AM
Shutdown button on kde logoff gone arubin Slackware 9 11-20-2006 02:58 AM
Shutdown button Ezzy Linux - Newbie 6 04-26-2005 10:44 AM
Power Button for Shutdown gokul Linux - Hardware 4 01-24-2004 01:40 PM
Shutdown with power button hriosm Linux - Hardware 4 06-06-2003 03:43 PM


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