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 685794 - when running lightdm as display manager can't switch users
when running lightdm as display manager can't switch users
Status: RESOLVED DUPLICATE of bug 701212
Product: gnome-shell
Classification: Core
Component: general
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-10-09 09:16 UTC by darkxst
Modified: 2015-03-07 09:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
userMenu: allow user switching when using lightdm (2.19 KB, patch)
2012-10-09 09:26 UTC, darkxst
none Details | Review

Description darkxst 2012-10-09 09:16:50 UTC
When running gnome-shell with lightdm (or any other DM apart from gdm) its not possible to switch user from gnome-shell. Clicking on "switch user" in the user menu does nothing.
Comment 1 darkxst 2012-10-09 09:26:59 UTC
Created attachment 226109 [details] [review]
userMenu: allow user switching when using lightdm

When running lightdm and gnome-shell, its currently not possible to
switch users via the usermenu. This commit adds a dbus call to
switch to the lightdm greeter and if that fails will fallback to
the gnome-screensaver lock dialog.
Comment 2 Jasper St. Pierre (not reading bugmail) 2012-10-09 13:34:19 UTC
I know Robert Ancell at one time had a wip/lightdm branch to gnome-shell (I saw it go by when we had IRC notifications). Maybe you could ping him for that?

(Also, is there a standard org.freedesktop.DisplayManager interface? I didn't know that)
Comment 3 Giovanni Campagna 2012-10-09 13:38:49 UTC
I don't think this patch is upstreamable. GNOME Shell is a part of the core GNOME experience, and this includes GDM as the one and only supported display manager.
Now, if org.freedesktop.DisplayManager is really a freedesktop standard (and I don't think I ever saw any discussion on xdg-list), we can think of supporting it in GDM, and change libgdm to invoke that, but I really don't want to carry on unsupported and untested code in core.
Comment 4 darkxst 2012-10-10 00:28:06 UTC
Surely it would be nice to have some basic interchangability of the display manager though? Not everyone is going to be using gdm, particularly on Ubuntu which ships lightdm by default. This is likely to become quite problematic on a multi-user system where 2 users choose to use different DE's, given the current situation you really need to run lightdm for unity, and gdm for gnome-shell, swapping display managers doesnt work that great currenty.
Comment 5 Jasper St. Pierre (not reading bugmail) 2013-03-03 21:52:35 UTC
(In reply to comment #4)
> Surely it would be nice to have some basic interchangability of the display
> manager though? Not everyone is going to be using gdm, particularly on Ubuntu
> which ships lightdm by default.

This should happen by collaborating on specifications of how lightdm and gdm interact.
Comment 6 Florian Müllner 2015-03-07 09:49:52 UTC
(In reply to Jasper St. Pierre from comment #5)
> This should happen by collaborating on specifications of how lightdm and gdm
> interact.

And until this happens, the approach in bug 701212 is much more acceptable than starting to add alternative code paths for non-GNOME display managers.

*** This bug has been marked as a duplicate of bug 701212 ***