LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 12:40 PM   #1
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
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, 12:03 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

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

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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, 05:23 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

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, 06:56 AM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
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, 07:07 AM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

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

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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