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 640018 - Gdm disables xkb options
Gdm disables xkb options
Status: RESOLVED OBSOLETE
Product: gdm
Classification: Core
Component: general
unspecified
Other Linux
: Normal major
: ---
Assigned To: GDM maintainers
GDM maintainers
: 640480 (view as bug list)
Depends on:
Blocks: 622305
 
 
Reported: 2011-01-20 00:58 UTC by Cyril Brulebois
Modified: 2018-05-24 10:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cyril Brulebois 2011-01-20 00:58:00 UTC
First reported in Debian#590534:
  http://bugs.debian.org/590534

If one sets xkb options through /etc/default/keyboard, those are propagated through udev to X11, which takes them into account. From X's log:
    (**) Option "xkb_options" "compose:menu,terminate:ctrl_alt_bksp"

With gdm3 started, those options are indeed set, as can be seen through:
    XAUTHORITY=$(find /var/run/gdm3 -name database|head -1) DISPLAY=:0 setxkbmap -print

Once a user is picked (and later on, once the session is started), options are  gone. (The same command in a shell or just “setxkbmap -print” in the X session will show that.)

I tracked it down to gdm_layout_activate() in gui/simple-greeter/gdm-layouts.c, if layout != NULLL, there's nothing propagating initial_config->options into config->options before calling xkl_config_rec_activate().

That was discovered in 2.30.5 (as tagged in git), and master seems to be affected as well.

Needless to say, that's pretty nasty…
Comment 1 Josselin Mouette 2011-01-24 21:54:59 UTC
I hadn’t noticed there was already a bug and opened bug#640480 to post the explanations. Please merge them somehow.
Comment 2 Michael Catanzaro 2013-12-29 16:45:30 UTC
*** Bug 640480 has been marked as a duplicate of this bug. ***
Comment 3 GNOME Infrastructure Team 2018-05-24 10:32:39 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdm/issues/52.