[Pkg-acpi-devel] Bug#763134: acpi-support-base: /usr/share/acpi-support/power-funcs broken from line 24 if consolekit installed and no dbus running

Michael Meskes meskes at debian.org
Fri Oct 3 12:00:19 UTC 2014

On Sun, Sep 28, 2014 at 05:12:45AM +0200, waijb wrote:
> just testing if /usr/bin/ck-list-sessions is executable doesn't do the
> trick.
> until just now i had consolekit installed (some dependency somewhere), but
> dbus was (and still is and will be) not running. this leads to an error in
> line 25, ultimately no $user is set. the pinky check is not executed (but
> would work just fine).

Did you actually try this or only call pinky to see if it displays anything?

The reason I'm asking is that the script needs to know the display number and
calculates that by asking ck-list-sessions again. If it indeed works for you
I'd like to know how it came up with the right display number.

Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

More information about the Pkg-acpi-devel mailing list