Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LXDE no shutdown or reboot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ALF__
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Tue Dec 09, 2014 9:49 pm    Post subject: LXDE no shutdown or reboot Reply with quote

Hello!

Ive just finished a fresh system install with LXDE

But i dont have a shutdown button in my menu and/or in the logout menu.

Im not using any loginmanager, just regular startx..

What have i missed here?
Back to top
View user's profile Send private message
SDNick484
Apprentice
Apprentice


Joined: 05 Dec 2005
Posts: 212

PostPosted: Wed Dec 10, 2014 7:53 am    Post subject: Reply with quote

I don't run LXDE, but I know in Xfce you run into a similar issue and basically it's caused by upower being deprecated (I should probably say usurped) by systemd. Fortunately, it's possible to get the shutdown/suspend features back by using sys-power/upower-pm-utils and sys-auth/consolekit. Basically you'll need to enable the consolekit and policykit USE flags for pambase & consolekit and rebuild. Taking a quick look at lxde USE flags, I assume you'll want upower enabled for lxde-base/lxsession.

Once that's done, add the following to my .xinitrc: "exec ck-launch-session startlxde" and you should be good to go (hopefully). Anyways, good luck. I may give LXDE a go myself as I'm always interested in trying new window managers; if I do, I'll let you know if the shutdown menu works for me.

EDIT: I just installed LXDM, started it with ck-launch-session, and sure enough Suspend, Hibernate, etc. all work (this is by clicking on the power button icon in the lower right portion of the panel). Again, to be clear, I'm using upower via upower-pm-utils, consolekit, polkit, and have the appropriate USE flags set up. I'm also starting LXDE from the CLI via startx (my .xinitrc is exactly what I stated above).
Back to top
View user's profile Send private message
ALF__
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Sun Dec 14, 2014 4:13 pm    Post subject: Reply with quote

Hello!

Thank you very much for your help and explanation.

Ive tried all kinds of different settings and startup alternetives, found on google, but nothing seems to help.

Funnything thouhg, i did just a fresh install on a new(old) laptop i just bought, and the buttons showed up on that one directly.

So i give up this for now, its kind of frustrating :) Again, thank you!
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1717

PostPosted: Sun Dec 14, 2014 6:30 pm    Post subject: Reply with quote

check if consolekit is running. Those butons vanish when it it gets killed
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum