← Back to team overview

desktop-packages team mailing list archive

[Bug 852803] Re: liblightdm-qt: power.cpp using incorrect interfaces and Session Bus

 

Fixed in 0.9.8, thanks Faheem!

** Changed in: lightdm
       Status: Triaged => Fix Committed

** Also affects: lightdm (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: lightdm (Ubuntu)
       Status: New => Fix Committed

** Changed in: lightdm (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/852803

Title:
  liblightdm-qt: power.cpp using incorrect interfaces and Session Bus

Status in Light Display Manager:
  Fix Committed
Status in “lightdm” package in Ubuntu:
  Fix Committed

Bug description:
  Version: 0.9.7
  Distributions used: Debian Sid (aptosid) and Ubuntu 11.10 beta 1
  Arch: x86

  Hi,

  I've been noticing that when running lightdm-qt-greeter, the shutdown
  etc. options have been disabled.

  Looking at liblightdm-qt's power.cpp, I've noticed that it's doing the following:
  * Not explicitly specifying the use of the System Bus. When not given a forth parameter explictly stating what Bus to use, QDBusInterface uses the Session Bus by default. All the power-related daemons uses the System Bus to the best of my knowledge.
  * For the ConsoleKit QDBusInterface it's specifying "org.freedesktop.ConsoleKit" as the interface when it should be "org.freedesktop.ConsoleKit.Manager"
  * For the suspend and hibernate options, it's using the "org.freedesktop.PowerManagement" interface. As I'm a latecomer to Linux, I do not know much about Linux power managment daemons and the like, but Google suggests that UPower is "in" now. Accordingly, I've changed the paths and names to use UPower's, like in liblightdm-gobject. Suspending works for me in KDE with this change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/852803/+subscriptions