Public bug reported:

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.

** Affects: acpi-support (Ubuntu)
     Importance: High
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/933626

Title:
  acpi-support should use ck-list-sessions to determine active X display
  and X user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/933626/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to