Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do normal users reboot under systemd 184+ and lxde?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
sgsdxzy
n00b
n00b


Joined: 22 May 2012
Posts: 24

PostPosted: Mon Aug 13, 2012 8:58 am    Post subject: How do normal users reboot under systemd 184+ and lxde? Reply with quote

I just want to add "reboot" and "poweroff" buttons to my pannels(lxde-logout)[/code]. I am using systemd 188, lxde and lxdm. I googled around but the tutorials don't cover my combination. I add
Code:
 session    optional    pam_systemd.so
to /etc/pam.d/lxdm and I can first logout and reboot in the lxdm welcome screen but not directly in my user session. I also tried http://www.gossamer-threads.com/lists/gentoo/user/226708 and it doesn't work. Thers is already
Code:
session      include      system-auth
session   optional   pam_ck_connector.so nox11
session   optional   pam_systemd.so

in my /etc/pam.d/system-login.
What should I do? Thanks!
Back to top
View user's profile Send private message
croutch
n00b
n00b


Joined: 04 Aug 2012
Posts: 32
Location: göteborg

PostPosted: Mon Aug 13, 2012 2:30 pm    Post subject: Reply with quote

Look here if this could help you - https://bbs.archlinux.org/viewtopic.php?pid=1145659#p1145659
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Mon Aug 13, 2012 2:33 pm    Post subject: Reply with quote

Hello,

Do you have consolekit installed?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
sgsdxzy
n00b
n00b


Joined: 22 May 2012
Posts: 24

PostPosted: Tue Aug 14, 2012 2:48 am    Post subject: Reply with quote

XavierMiller wrote:
Hello,

Do you have consolekit installed?


Yes. In fact, I used to be able to shutdown by pressing power button until I upgraded consolekit the day before yesterday :(
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Tue Aug 14, 2012 7:10 am    Post subject: Reply with quote

re-emerge lxpolkit
Code:
emerge -1av lxpolkit

If it is blocked by an other polkit client, remove that client first.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
sgsdxzy
n00b
n00b


Joined: 22 May 2012
Posts: 24

PostPosted: Tue Aug 14, 2012 9:00 am    Post subject: Reply with quote

XavierMiller wrote:
re-emerge lxpolkit
Code:
emerge -1av lxpolkit

If it is blocked by an other polkit client, remove that client first.


Thanks, now I can use systemctl poweroff without root privilege. But there's still no button...
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