GNOME Bugzilla – Bug 745940
Please support org.freedesktop.DisplayManager.Seat SwitchToGreeter
Last modified: 2021-07-05 14:08:49 UTC
LightDM uses org.freedesktop.DisplayManager.Seat SwitchToGreeter on system Bus to go to greeter, gnome-shell only supports org.gnome.DisplayManager.LocalDisplayFactory CreateTransientDisplay. Using the same API will help interoperability. I will attach a pair of patches soon. NB: this is the client side of #745938.
Created attachment 298944 [details] [review] Move switchToGreeter to LoginManager
Created attachment 298945 [details] [review] Try to go to greeter using the LightDM API first if $XDG_SEAT_PATH is set
Created attachment 298946 [details] [review] Try to go to greeter using the LightDM API first if $XDG_SEAT_PATH is set
Is this really a freedesktop API? I don't recall a discussion in the xdg mailing list. And it is definitely the case that this patch would be easier to accept if gdm also implemented the same API.
Review of attachment 298944 [details] [review]: No, we won't support multiple display manager APIs. If you want us to support a shared API, convince the GDM maintainers to adopt it first - usually this is how a standard should be developed in the first place, but meh, that ship has clearly sailed ...
Review of attachment 298946 [details] [review]: No. We'll take a patch to port to a new API once it is supported by GDM.
(In reply to Florian Müllner from comment #6) > No. We'll take a patch to port to a new API once it is supported by GDM. (if still required - presumably libgdm would keep working as before, just using the new API ...)
I started a discussion at xdg: http://lists.freedesktop.org/archives/xdg/2015-March/013468.html
note we still require gdm for screen lock. feels a little strange to support user switching but not have the ability to lock the screen that's getting switched away from.
Indeed, if we get a standard, it should cover both cases.
Ray: Can you post your screen lock comment to the xdg thread started at: http://lists.freedesktop.org/archives/xdg/2015-March/013468.html? thanks
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/ Thank you for your understanding and your help.