After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 671936 - Should use dbus to switch to greeter when available
Should use dbus to switch to greeter when available
Status: RESOLVED OBSOLETE
Product: gnome-screensaver
Classification: Deprecated
Component: general
CVS HEAD
Other Linux
: Normal normal
: ---
Assigned To: gnome-screensaver maintainers
gnome-screensaver maintainers
Depends on:
Blocks:
 
 
Reported: 2012-03-12 19:39 UTC by Marc Deslauriers
Modified: 2014-08-20 20:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (4.57 KB, patch)
2012-03-12 19:42 UTC, Marc Deslauriers
none Details | Review

Description Marc Deslauriers 2012-03-12 19:39:47 UTC
When the display manager exports XDG_SEAT_PATH, gnome-screensaver should use dbus to switch to the greeter instead of calling a hardcoded gdmflexiserver binary. This is the case with lightdm.

See downstream bug report:
https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/950583
Comment 1 Marc Deslauriers 2012-03-12 19:42:22 UTC
Created attachment 209531 [details] [review]
Proposed patch

Here's a proposed patch to switch to the greeter using DBus when available.
Comment 2 Ray Strode [halfline] 2012-03-12 20:45:20 UTC
GDM doesn't implement SwitchToGreeter.  How about we drop gdmflexiserver entirely and just called

org.freedesktop.login1.Session.Activate()

?
Comment 3 Ray Strode [halfline] 2012-03-12 20:45:41 UTC
oh but that won't work if no greeter is running
Comment 4 Bastien Nocera 2014-08-20 20:23:04 UTC
The screen lock is now implemented directly in gnome-shell, not in
gnome-screensaver (as it was with older version of GNOME 3 and GNOME 2.x).

If the reported problems persists in recent versions of GNOME, please file a new bug against gnome-shell with the "lock-screen" component selected.

If your installation is an older version of GNOME that cannot be upgraded (such as an enterprise version), please use the appropriate support mechanism from your vendor, or your distribution instead.