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 793456 - Wrong session marked as selected in session dropdown on login screen
Wrong session marked as selected in session dropdown on login screen
Status: RESOLVED DUPLICATE of bug 793609
Product: gdm
Classification: Core
Component: general
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2018-02-14 15:42 UTC by Olivier Tilloy
Modified: 2018-02-26 15:46 UTC
See Also:
GNOME target: ---
GNOME version: 3.25/3.26



Description Olivier Tilloy 2018-02-14 15:42:08 UTC
(initially reported in ubuntu: https://launchpad.net/bugs/1749481)

My usual session is "Ubuntu" (/usr/share/xsessions/ubuntu.desktop). When I reboot my machine, on the login screen if I click the cog icon to show the list of sessions available, a dot is displayed to the left of the first session in the list ("GNOME"), instead of "Ubuntu".

If I don't click on a session to change it, when I log in the session used is "Ubuntu" as expected, not "GNOME".

So the greeter fails to reflect which session is actually selected when first displaying the dropdown, but internally it doesn't mess up with session selection.

This is the layout of session files on my setup:

osomon@bribon:~$ ls -l /usr/share/*sessions/
/usr/share/wayland-sessions/:
total 8
-rw-r--r-- 1 root root 207 févr.  6 10:57 gnome.desktop
-rw-r--r-- 1 root root 265 févr.  6 10:57 ubuntu-wayland.desktop

/usr/share/xsessions/:
total 12
lrwxrwxrwx 1 root root  18 févr.  6 10:57 gnome.desktop -> gnome-xorg.desktop
-rw-r--r-- 1 root root 201 févr.  6 10:57 gnome-xorg.desktop
-rw-r--r-- 1 root root 253 févr.  6 10:57 ubuntu.desktop
-rw-r--r-- 1 root root 249 févr.  6 10:57 unity.desktop
Comment 1 Jeremy Bicha 2018-02-25 19:51:28 UTC
It's important to note that Ubuntu now has this patch:

https://bazaar.launchpad.net/~ubuntu-desktop/gdm/ubuntu/revision/451
Comment 2 Jeremy Bicha 2018-02-25 19:53:30 UTC
more specifically, this bug is in Ubuntu 18.04 Alpha where the default session is supposed to be Ubuntu (using X).
Comment 3 Ray Strode [halfline] 2018-02-26 15:46:56 UTC
i think this is fixed by bug 793609 , please reopen if i'm wrong!

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