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 745940 - Please support org.freedesktop.DisplayManager.Seat SwitchToGreeter
Please support org.freedesktop.DisplayManager.Seat SwitchToGreeter
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: login-screen
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Ray Strode [halfline]
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2015-03-10 05:26 UTC by Mathieu Parent
Modified: 2021-07-05 14:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Move switchToGreeter to LoginManager (1.80 KB, patch)
2015-03-10 05:27 UTC, Mathieu Parent
rejected Details | Review
Try to go to greeter using the LightDM API first if $XDG_SEAT_PATH is set (1.32 KB, patch)
2015-03-10 05:27 UTC, Mathieu Parent
none Details | Review
Try to go to greeter using the LightDM API first if $XDG_SEAT_PATH is set (1.32 KB, patch)
2015-03-10 05:30 UTC, Mathieu Parent
rejected Details | Review

Description Mathieu Parent 2015-03-10 05:26:36 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.
Comment 1 Mathieu Parent 2015-03-10 05:27:23 UTC
Created attachment 298944 [details] [review]
Move switchToGreeter to LoginManager
Comment 2 Mathieu Parent 2015-03-10 05:27:51 UTC
Created attachment 298945 [details] [review]
Try to go to greeter using the LightDM API first if $XDG_SEAT_PATH is set
Comment 3 Mathieu Parent 2015-03-10 05:30:32 UTC
Created attachment 298946 [details] [review]
Try to go to greeter using the LightDM API first if $XDG_SEAT_PATH is set
Comment 4 Giovanni Campagna 2015-03-10 07:31:58 UTC
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.
Comment 5 Florian Müllner 2015-03-10 09:18:58 UTC
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 ...
Comment 6 Florian Müllner 2015-03-10 09:20:09 UTC
Review of attachment 298946 [details] [review]:

No. We'll take a patch to port to a new API once it is supported by GDM.
Comment 7 Florian Müllner 2015-03-10 09:21:17 UTC
(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 ...)
Comment 8 Mathieu Parent 2015-03-10 13:47:47 UTC
I started a discussion at xdg: http://lists.freedesktop.org/archives/xdg/2015-March/013468.html
Comment 9 Ray Strode [halfline] 2015-03-10 15:46:31 UTC
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.
Comment 10 Florian Müllner 2015-03-10 15:47:46 UTC
Indeed, if we get a standard, it should cover both cases.
Comment 11 Mathieu Parent 2015-03-14 11:52:56 UTC
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
Comment 12 GNOME Infrastructure Team 2021-07-05 14:08:49 UTC
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.