View previous topic :: View next topic |
Author |
Message |
trumee Guru

Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Tue Nov 08, 2016 2:41 am Post subject: Plasma 5, no suspend/resume buttons (OpenRC) |
|
|
Hello,
I have gone over this link but still dont have Suspend/Resume buttons. Here are my packages
Code: |
$emerge -pv upower pm-utils powerdevil consolekit sddm
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-power/pm-utils-1.4.1-r6::gentoo USE="alsa -debug -ntp" VIDEO_CARDS="intel -radeon" 0 KiB
[ebuild R ] sys-power/upower-0.99.4:0/3::gentoo USE="introspection -doc -ios (-selinux)" 0 KiB
[ebuild R ] sys-auth/consolekit-1.1.0::gentoo USE="acl pam pm-utils (policykit) -cgroups -debug -doc (-selinux) {-test}" 0 KiB
[ebuild R ] kde-plasma/powerdevil-5.7.5:5::gentoo USE="handbook wireless -debug -systemd" 0 KiB
[ebuild R ] x11-misc/sddm-0.13.0-r3::gentoo USE="consolekit pam -systemd" 0 KiB
|
Also,
Code: |
$ grep pam_ck_connector /etc/pam.d/system-login
session optional pam_ck_connector.so nox11
$ ck-list-sessions
Session1:
unix-user = '1001'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2016-11-08T01:08:29.239448Z'
login-session-id = '3'
|
Services running
Code: |
# rc-status
Runlevel: default
syslog-ng [ started ]
dbus [ started ]
ntp-client [ started ]
vixie-cron [ started ]
vmware [ started ]
consolekit [ started ]
netmount [ started ]
xdm [ started ]
zabbix-agentd [ started ]
acpid [ started ]
sshd [ started ]
local [ started ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
rpcbind [ started ]
rpc.statd [ started ]
rpc.pipefs [ started ]
rpc.idmapd [ started ]
nfsclient [ started ]
xdm-setup [ started ]
modules-load [ started ]
|
Groups
Code: |
$ groups
wheel audio cdrom video usb users plugdev portage wireshark
|
Finally,
Code: |
$ qdbus org.freedesktop.PowerManagement /org/freedesktop/PowerManagement org.freedesktop.PowerManagement.CanSuspend
false
$ qdbus org.freedesktop.PowerManagement /org/freedesktop/PowerManagement org.freedesktop.PowerManagement.CanHibernate
false
|
Any idea what could be wrong? |
|
Back to top |
|
 |
trumee Guru

Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Tue Nov 08, 2016 2:57 am Post subject: |
|
|
Following this if i try the following commands i get the buttons in the menu
Code: |
killall kded5 && kded5&
kill -9 plasmashell && plasmashell&
|
I have the following rules in polkit
Code: |
# ls /etc/polkit-1/localauthority/10-vendor.d/ -l
total 20
-rw-r--r-- 1 root root 325 Nov 6 21:53 10-org.freedesktop.upower.pkla
-rw-r--r-- 1 root root 329 Nov 6 21:53 20-org.freedesktop.consolekit.system.stop-multiple-users.pkla
-rw-r--r-- 1 root root 325 Nov 6 21:53 30-org.freedesktop.consolekit.system.restart-multiple-users.pkla
-rw-r--r-- 1 root root 368 Nov 6 21:53 40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla
-rw-r--r-- 1 root root 309 Nov 6 21:53 50-org.freedesktop.consolekit.system.hibernate-multiple-users.pkla
$ cat /etc/polkit-1/localauthority/10-vendor.d/40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla
# Enable user suspend support with Consolekit2.
#
# Author: Eric Hameleers <alien@slackware.com>
#
# KDE bug #344456
# Gentoo bug #529186
#
[Allow all users to suspend with Conesolekit2]
Identity=unix-group:users
Action=org.freedesktop.consolekit.system.suspend-multiple-users;org.freedesktop.consolekit.system.suspend
ResultAny=yes
ResultInactive=no
ResultActive=yes
|
|
|
Back to top |
|
 |
|
|
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
|
|