FS#75440 - [gdm] Udev rules to disable wayland does not work on the first switch of user

Attached to Project: Arch Linux
Opened by Yutsing Kuh (Sffred) - Thursday, 28 July 2022, 02:01 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:17 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 0
Private No

Details

Description:
It's known that some rules are described in /usr/lib/udev/rules.d/61-gdm.rules to disable wayland session under some circumstances. However, when switching to a second user for the first time after boot, wayland choices will show up and even if you choose the non-wayland choice, you will still log into a wayland session. Logging out again and now the wayland choice will be disabled, which is the desired behavior.

Additional info:
* package version(s)
gdm 42.0+r11+g4a52f026-1

* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
1. Use A laptop with hybrid graphics card, intel+Nvidia.
2. Install gnome and create two users.
3. Boot into the system, log in to the first user in gnome session. You will not see wayland choices since they are disabled by udev rules.
4. Switch User through gnome shell, log in to the second user. You will see the wayland choices coming back.
5. Choose the non-wayland choice and log in. You will still log in to a wayland session
6. Log out again. Now the wayland choice for the second user also disappears.
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:17 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/gdm/issues/3

Loading...