[Bug 933626] Re: acpi-support should use ck-list-sessions to determine active X display and X user
Axel Beckert
abe at deuxchevaux.org
Sat Mar 24 13:57:36 UTC 2012
Meh, now this pulls in consolekit on lightweight or non-X Debian
installations, too.
Can't the consolekit usage be made optional?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to acpi-support in Ubuntu.
https://bugs.launchpad.net/bugs/933626
Title:
acpi-support should use ck-list-sessions to determine active X display
and X user
Status in “acpi-support” package in Ubuntu:
Fix Released
Bug description:
The acpi-support scripts use 'ps' and 'who' output to determine the current active X display and X user (in getXconsole and getXuser). Currently, LightDM does not write to utmp so 'who' does not output the correct information breaking getXconsole and getXuser.
ConsoleKit properly maintains the state of the console and probably
should be used instead.
I've attached a patch that re-implements getXconsole and getXuser by
calling ck-list-sessions.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/933626/+subscriptions
More information about the foundations-bugs
mailing list