gdm keyboard layout cannot be changed
Issue Description After installing GNOME on Alpine Linux and setting up the display manager to use GDM3, it has been observed that the login screen is set to QWERTY keyboard layout by default. This makes it impossible for users who do not have a QWERTY keyboard or prefer another layout (such as AZERTY) to log in at first attempt. The problem persists even when trying to change the layout from the login screen, which does not provide any option to switch to an alternative keyboard layout.
Steps to reproduce: Install gnome on alpine : https://wiki.alpinelinux.org/wiki/GNOME Attempt to log in with non-QWERTY keyboard layout.
Expected result: The GDM3 interface should allow users to choose their preferred keyboard layout during initial login before entering their password, regardless of whether they are using a QWERTY, AZERTY, DVORAK, or other keyboard layout.
Actual result: GDM3 defaults to QWERTY keyboard layout without providing options to change it at the login screen, making it difficult or impossible for some users to enter their credentials correctly and complete the login process successfully.
Additional information: Once a user logs in and opens their desktop session, GDM3 considers the correct keyboard layout configured in GNOME. However, upon reboot or disconnection of the user, the error recurs where only the QWERTY keyboard layout is available at the GDM3 login screen. Investigation is needed to address why GDM3 fails to remember the last used keyboard layout across boots or disconnects.