Bug 686125 - simple-greeter shutdown and restart don't work on console kit
simple-greeter shutdown and restart don't work on console kit
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-10-14 22:10 UTC by darkxst
Modified: 2012-10-15 18:53 UTC (History)
1 user (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments
simple-greeter: fix shutdown and restart on console kit systems (2.14 KB, patch)
2012-10-14 22:12 UTC, darkxst
committed Details | Diff | Review

Description darkxst 2012-10-14 22:10:22 UTC
When running on console kit the shutdown and restart options in the gdm simple greeter don't do anything.

Atleast on Ubuntu 12.10, the dbus error returned when trying to call the non-existant systemd interface is "Service Unknown" and not "name has no owner" has is expected in the try_system_(restart/stop) functions.
Comment 1 darkxst 2012-10-14 22:12:50 UTC
Created attachment 226428 [details] [review]
simple-greeter: fix shutdown and restart on console kit systems

On Ubuntu 12.10 (console-kit), the dbus error returned when trying to call the
non-existant systemd interface is "Service Unknown" and not "Name has no owner"
as is expected in the try_system_(restart/stop) functions.
Comment 2 Ray Strode [halfline] 2012-10-15 18:53:33 UTC
Attachment 226428 [details] pushed as 081fc25 - simple-greeter: fix shutdown and restart on console kit systems

Note You need to log in before you can comment on or make changes to this bug.