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 764915 - Automatic login into Wayland session not working
Automatic login into Wayland session not working
Status: RESOLVED DUPLICATE of bug 761785
Product: gdm
Classification: Core
Component: general
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2016-04-11 19:36 UTC by Michael Rapp
Modified: 2016-05-21 13:24 UTC
See Also:
GNOME target: ---
GNOME version: 3.19/3.20


Attachments
Content of the files /etc/gdm/custom.conf and /var/lib/AccountsService/users/test (492 bytes, text/plain)
2016-04-11 19:36 UTC, Michael Rapp
Details

Description Michael Rapp 2016-04-11 19:36:53 UTC
Created attachment 325748 [details]
Content of the files /etc/gdm/custom.conf and /var/lib/AccountsService/users/test

I use Wayland as the default display server in GNOME 3.20.0 (running on Arch Linux 64 bit). Unexpectedly, when enabling auto-login via Settings -> Users -> Automatic login, this results in a X-session being started. When disabling automatic login and logging into the same user account by manually entering the password, GDM properly remembers "GNOME on Wayland" to be the default session to be started and logging in results in a running Wayland session.

I switched to Wayland as the default session after upgrading to GNOME 3.20 by logging out of a running session and selecting "GNOME on Wayland" using the settings button displayed next to the selected user in GDM. I did not do a fresh install and used X-server as the default before. 

For testing purposes I created a new user account "test" and the problem remained. The content of my system's /etc/gdm/custom.conf- and /var/lib/AccountsService/users/test-files can be found attached to this bug report.
Comment 1 Ray Strode [halfline] 2016-04-12 20:06:23 UTC

*** This bug has been marked as a duplicate of bug 761785 ***
Comment 2 Júlio Dutra 2016-05-21 13:24:20 UTC
I have the same problem. I think maybe the problems are related but aren't the same because i use a patched version of GDM with patch attached to the bug 761785. Even so an automatic login always starts an X session although my default is a wayland session.