zed.0xff.me

лечим ConsoleKit и PowerDevil от Introspectable/Introspect

В настройках KDE power management появились такие сообщения:

There are some issues in your configuration. Please check the Capabilities page for more details.

ConsoleKit was not found active on your PC, or PowerDevil cannot contact it. ConsoleKit lets PowerDevil detect whether the current session is active, which is useful if you have more than one user logged into your system at any one time.

А также сообщения в логах вот такого вида:

Oct 26 11:36:30 localhost dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=6311 comm="/usr/bin/systemsettings) interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.ConsoleKit" (uid=0 pid=4771 comm="/usr/sbin/console-kit-daemon))

Лекарство:

1
2
3
4
5
6
7
8
9
10
11
12
--- /etc/dbus-1/system.d/ConsoleKit.conf.bk        2009-10-26 11:18:56.000000000 +0500
+++ /etc/dbus-1/system.d/ConsoleKit.conf        2009-10-26 11:36:53.000000000 +0500
@@ -21,6 +21,9 @@
     <deny send_destination="org.freedesktop.ConsoleKit"
           send_interface="org.freedesktop.DBus.Properties" />
 
+    <allow send_destination="org.freedesktop.ConsoleKit"
+           send_interface="org.freedesktop.DBus.Introspectable"/>
+
     <allow send_interface="org.freedesktop.ConsoleKit.Manager"
            send_member="Restart"/>
     <allow send_interface="org.freedesktop.ConsoleKit.Manager"

Ссылки: 1 2 3

Post a comment


(lesstile enabled - surround code blocks with ---)