Udev rules to disable wayland does not work on the first switch of user
Task Info (Flyspray) | |
---|---|
Opened By | Yutsing Kuh (Sffred) |
Task ID | 75440 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Extra |
Version | None |
OS | All |
Opened | 2022-07-28 02:01:06 UTC |
Status | Assigned |
Assignee | Jan Alexander Steffens (heftig) |
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:
- Use A laptop with hybrid graphics card, intel+Nvidia.
- Install gnome and create two users.
- 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.
- Switch User through gnome shell, log in to the second user. You will see the wayland choices coming back.
- Choose the non-wayland choice and log in. You will still log in to a wayland session
- Log out again. Now the wayland choice for the second user also disappears.