[Bug 933626] Re: acpi-support should use ck-list-sessions to determine active X display and X user
Launchpad Bug Tracker
933626 at bugs.launchpad.net
Sat Mar 3 03:47:16 UTC 2012
** Branch linked: lp:acpi-support
--
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:
In Progress
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