Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No more menu entry for Wayland in Gnome login screen after installing new files in /usr/share/X11/xkb #35

Open
bipox opened this issue Jul 16, 2023 · 1 comment

Comments

@bipox
Copy link

bipox commented Jul 16, 2023

I'm using Fedora Gnome.

How to reproduce the issue:

  1. run install-dreymar-xmod.sh
  2. reboot
    -> no more Wayland menu entry in Gnome login screen: "Gnome with XOrg" becomes "Gnome". This last one was the choice for Wayland
  3. restore original files in /usr/share/X11/xkb from automatic backup
  4. reboot
    -> Wayland menu entry is back

I can still open a Wayland session through a TTY

journalctl -b -g gnome-shell -g xkb
Jul 16 17:09:52 remi-desktop systemd[1]: systemd 253.5-1.fc38 running in system mode (+PAM +AUDIT +SELINUX -APPARMOR +IMA +SMACK +SECCOMP -GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +>
Jul 16 17:09:56 remi-desktop systemd[1]: systemd 253.5-1.fc38 running in system mode (+PAM +AUDIT +SELINUX -APPARMOR +IMA +SMACK +SECCOMP -GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +>
Jul 16 17:09:59 remi-desktop org.gnome.Shell.desktop[1484]: xkbcommon: ERROR: Couldn't read rules file "/usr/share/X11/xkb/rules/evdev": Permission denied
Jul 16 17:09:59 remi-desktop org.gnome.Shell.desktop[1484]: xkbcommon: ERROR: No components returned from XKB rules "/usr/share/X11/xkb/rules/evdev"
Jul 16 17:09:59 remi-desktop org.gnome.Shell.desktop[1484]: xkbcommon: ERROR: Couldn't look up rules 'evdev', model 'pc105', layout 'us', variant '', options ''
Jul 16 17:09:59 remi-desktop audit[1484]: AVC avc:  denied  { map } for  pid=1484 comm="gnome-shell" path="/usr/share/X11/xkb/rules/evdev" dev="nvme0n1p3" ino=1243665 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0
Jul 16 17:09:59 remi-desktop audit[1484]: AVC avc:  denied  { map } for  pid=1484 comm="gnome-shell" path="/usr/share/X11/xkb/rules/evdev" dev="nvme0n1p3" ino=1243665 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0
Jul 16 17:09:59 remi-desktop audit[1484]: AVC avc:  denied  { map } for  pid=1484 comm="gnome-shell" path="/usr/share/X11/xkb/rules/evdev" dev="nvme0n1p3" ino=1243665 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0
Jul 16 17:09:59 remi-desktop org.gnome.Shell.desktop[1484]: xkbcommon: ERROR: Couldn't read rules file "/usr/share/X11/xkb/rules/evdev": Permission denied
Jul 16 17:09:59 remi-desktop org.gnome.Shell.desktop[1484]: xkbcommon: ERROR: No components returned from XKB rules "/usr/share/X11/xkb/rules/evdev"
Jul 16 17:09:59 remi-desktop org.gnome.Shell.desktop[1484]: xkbcommon: ERROR: Couldn't look up rules 'evdev', model 'pc105+inet', layout 'us', variant '', options ''
Jul 16 17:09:59 remi-desktop org.gnome.Shell.desktop[1484]: xkbcommon: ERROR: Couldn't read rules file "/usr/share/X11/xkb/rules/evdev": Permission denied
Jul 16 17:09:59 remi-desktop org.gnome.Shell.desktop[1484]: xkbcommon: ERROR: No components returned from XKB rules "/usr/share/X11/xkb/rules/evdev"
Jul 16 17:09:59 remi-desktop org.gnome.Shell.desktop[1484]: xkbcommon: ERROR: Couldn't look up rules 'evdev', model 'pc105+inet', layout 'us', variant '', options ''
Jul 16 17:09:59 remi-desktop systemd-coredump[1550]: [🡕] Process 1484 (gnome-shell) of user 42 dumped core.
                                                     
                                                     Module libgvfscommon.so from rpm gvfs-1.50.5-1.fc38.x86_64
                                                     Module libgvfsdbus.so from rpm gvfs-1.50.5-1.fc38.x86_64
                                                     Module libdconfsettings.so from rpm dconf-0.40.0-8.fc38.x86_64
                                                     Module libedit.so.0 from rpm libedit-3.1-45.20221030cvs.fc38.x86_64
                                                     Module libdrm_nouveau.so.2 from rpm libdrm-2.4.114-2.fc38.x86_64
                                                     Module libdrm_amdgpu.so.1 from rpm libdrm-2.4.114-2.fc38.x86_64
                                                     Module libelf.so.1 from rpm elfutils-0.189-3.fc38.x86_64
                                                     Module libdrm_radeon.so.1 from rpm libdrm-2.4.114-2.fc38.x86_64
                                                     Module libsensors.so.4 from rpm lm_sensors-3.6.0-13.fc38.x86_64
                                                     Module iris_dri.so from rpm mesa-23.2.0-0.3.20230712.00.fb925c9.fc38.x86_64
                                                     Module libxshmfence.so.1 from rpm libxshmfence-1.3-12.fc38.x86_64
                                                     Module libxcb-sync.so.1 from rpm libxcb-1.13.1-11.fc38.x86_64
                                                     Module libxcb-present.so.0 from rpm libxcb-1.13.1-11.fc38.x86_64
                                                     Module libxcb-dri3.so.0 from rpm libxcb-1.13.1-11.fc38.x86_64
                                                     Module libwayland-client.so.0 from rpm wayland-1.22.0-1.fc38.x86_64
                                                     Module libxcb-xfixes.so.0 from rpm libxcb-1.13.1-11.fc38.x86_64
                                                     Module libxcb-dri2.so.0 from rpm libxcb-1.13.1-11.fc38.x86_64
                                                     Module libglapi.so.0 from rpm mesa-23.2.0-0.3.20230712.00.fb925c9.fc38.x86_64
                                                     Module libEGL_mesa.so.0 from rpm mesa-23.2.0-0.3.20230712.00.fb925c9.fc38.x86_64
                                                     Module libbrotlicommon.so.1 from rpm brotli-1.0.9-11.fc38.x86_64
                                                     Module libogg.so.0 from rpm libogg-1.3.5-5.fc38.x86_64
                                                     Module libvorbis.so.0 from rpm libvorbis-1.3.7-7.fc38.x86_64
                                                     Module libdatrie.so.1 from rpm libdatrie-0.2.13-5.fc38.x86_64
                                                     Module libicudata.so.72 from rpm icu-72.1-2.fc38.x86_64
                                                     Module libgmp.so.10 from rpm gmp-6.2.1-4.fc38.x86_64
                                                     Module libhogweed.so.6 from rpm nettle-3.8-3.fc38.x86_64
                                                     Module libnettle.so.8 from rpm nettle-3.8-3.fc38.x86_64
                                                     Module libtasn1.so.6 from rpm libtasn1-4.19.0-2.fc38.x86_64
                                                     Module libunistring.so.5 from rpm libunistring-1.1-3.fc38.x86_64
                                                     Module libidn2.so.0 from rpm libidn2-2.3.4-2.fc38.x86_64
                                                     Module libbrotlidec.so.1 from rpm brotli-1.0.9-11.fc38.x86_64
                                                     Module libbz2.so.1 from rpm bzip2-1.0.8-13.fc38.x86_64
                                                     Module libexpat.so.1 from rpm expat-2.5.0-2.fc38.x86_64
                                                     Module libevdev.so.2 from rpm libevdev-1.13.1-1.fc38.x86_64
                                                     Module libmtdev.so.1 from rpm mtdev-1.1.6-5.fc38.x86_64
                                                     Module libuuid.so.1 from rpm util-linux-2.38.1-4.fc38.x86_64
                                                     Module libxcb-xkb.so.1 from rpm libxcb-1.13.1-11.fc38.x86_64
                                                     Module libxcb-util.so.1 from rpm xcb-util-0.4.1-2.fc38.x86_64
                                                     Module libltdl.so.7 from rpm libtool-2.4.7-6.fc38.x86_64
                                                     Module libtdb.so.1 from rpm libtdb-1.4.8-1.fc38.x86_64
                                                     Module libvorbisfile.so.3 from rpm libvorbis-1.3.7-7.fc38.x86_64
                                                     Module libGLX.so.0 from rpm libglvnd-1.6.0-2.fc38.x86_64
                                                     Module libGLdispatch.so.0 from rpm libglvnd-1.6.0-2.fc38.x86_64
                                                     Module libxml2.so.2 from rpm libxml2-2.10.4-1.fc38.x86_64
                                                     Module libgraphite2.so.3 from rpm graphite2-1.3.14-11.fc38.x86_64
                                                     Module libthai.so.0 from rpm libthai-0.1.29-4.fc38.x86_64
                                                     Module libtinfo.so.6 from rpm ncurses-6.4-3.20230114.fc38.x86_64
                                                     Module libicuuc.so.72 from rpm icu-72.1-2.fc38.x86_64
                                                     Module libicui18n.so.72 from rpm icu-72.1-2.fc38.x86_64
                                                     Module libblkid.so.1 from rpm util-linux-2.38.1-4.fc38.x86_64
                                                     Module libseccomp.so.2 from rpm libseccomp-2.5.3-4.fc38.x86_64
                                                     Module libxkbregistry.so.0 from rpm libxkbcommon-1.5.0-2.fc38.x86_64
                                                     Module libgnutls.so.30 from rpm gnutls-3.8.0-2.fc38.x86_64
                                                     Module liblz4.so.1 from rpm lz4-1.9.4-2.fc38.x86_64
                                                     Module libzstd.so.1 from rpm zstd-1.5.5-1.fc38.x86_64
                                                     Module liblzma.so.5 from rpm xz-5.4.1-1.fc38.x86_64
                                                     Module libcap.so.2 from rpm libcap-2.48-6.fc38.x86_64
                                                     Module libp11-kit.so.0 from rpm p11-kit-0.24.1-6.fc38.x86_64

Sorry if it's something I missed and not a bug or incompatibility. I'm an eternal linux noob (configuring the keyboard took me a lot of time).

Another issue I'm not sure deserves a bug report: your website dreymar.colemak.org doesn't mention the key to activate the mouse is now TLDE, and not LSGT anymore.

And thank you for making this!

@bipox bipox changed the title No more menu entry for Wayland in GDM after installing new files in /usr/share/X11/xkb No more menu entry for Wayland in Gnome login screen after installing new files in /usr/share/X11/xkb Jul 16, 2023
@DreymaR
Copy link
Owner

DreymaR commented Aug 2, 2023

Really not sure what's going on with your issue. I haven't used Wayland myself, yet. Please keep me informed if you make further discoveries.

I do suppose you're using an updated commit of my repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants