[Bug 933626] Re: acpi-support should use ck-list-sessions to determine active X display and X user
Ubuntu Foundation's Bug Bot
933626 at bugs.launchpad.net
Thu Feb 16 20:13:18 UTC 2012
The attachment "power-funcs.diff" of this bug report has been identified
as being a patch. The ubuntu-reviewers team has been subscribed to the
bug report so that they can review the patch. In the event that this is
in fact not a patch you can resolve this situation by removing the tag
'patch' from the bug report and editing the attachment so that it is not
flagged as a patch. Additionally, if you are member of the ubuntu-
reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by
Brian Murray. Please contact him regarding any issues with the action
taken in this bug report.]
** Tags added: patch
--
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:
New
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