FS#72717 - [gdm] 41.0-1 Wayland session always starts by default, even if Xorg is selected

Attached to Project: Arch Linux
Opened by Ivan Bondar (Starwalker) - Thursday, 11 November 2021, 20:40 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 13 November 2021, 20:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

Wayland session always starts by default, even if Xorg is selected as a default session.

Additional info:
* package version(s): gdm 41.0-1

Steps to reproduce:
Boot a PC, GDM screen appears. Click on sessions button (lower right corner). If GNOME is selected by default, select GNOME on Xorg. Login. This will start Xorg session. Logout. Now the next login should use previously selected GNOME on Xorg. Check if the asterisk is in front of that option. Now just login without chosing any other sessions, just leave the selection marker where it is. This time you will login to the Wayland, despite that Xorg has been selected.
In order to force Xorg to start you need to logout, then on login screen select GNOME, then select GNOME on Xorg. Only then Xorg session will start.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Saturday, 13 November 2021, 20:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  gdm 41.0+r15
Comment by Ivan Bondar (Starwalker) - Thursday, 11 November 2021, 20:41 GMT
Found a thread describing the issue on Arch Linux Forums - https://bbs.archlinux.org/viewtopic.php?pid=2002524
Comment by Sibo Dong (flyingpig) - Thursday, 11 November 2021, 22:24 GMT
https://gitlab.gnome.org/GNOME/gdm/-/issues/749 is the relevant issue upstream.
Comment by Sibo Dong (flyingpig) - Saturday, 13 November 2021, 20:00 GMT
Upstream already had a fix for this issue, but it wasn't included with GDM 41.0. I rebuilt the gdm package with this fix at [1]; I can confirm that doing so resolves this issue.

[1] https://gitlab.gnome.org/GNOME/gdm/-/commit/c8d17ad2566fabecee0d598dcb5bf53939ee9bbe
Comment by Vuk Mirovic (wooque) - Saturday, 13 November 2021, 20:09 GMT
I built latest main and see that issue is resolved, I would suggest that package bumps commit to latest one until new release is made

Loading...