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

-- 
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 Released
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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to