View previous topic :: View next topic |
Author |
Message |
sgsdxzy n00b
Joined: 22 May 2012 Posts: 24
|
Posted: Mon Aug 13, 2012 8:58 am Post subject: How do normal users reboot under systemd 184+ and lxde? |
|
|
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 |
|
|
croutch n00b
Joined: 04 Aug 2012 Posts: 32 Location: göteborg
|
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Mon Aug 13, 2012 2:33 pm Post subject: |
|
|
Hello,
Do you have consolekit installed? _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
sgsdxzy n00b
Joined: 22 May 2012 Posts: 24
|
Posted: Tue Aug 14, 2012 2:48 am Post subject: |
|
|
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 |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Tue Aug 14, 2012 7:10 am Post subject: |
|
|
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 |
|
|
sgsdxzy n00b
Joined: 22 May 2012 Posts: 24
|
Posted: Tue Aug 14, 2012 9:00 am Post subject: |
|
|
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 |
|
|
|