Fedora Account System
Red Hat Associate
Red Hat Customer
There seems to be an inconsistency in how the package xorg-x11-xinit and Gnome mutter handles user permissions for the X server. A few months ago, mutter changed their default behavior such that users are not automatically added as "SI:localuser:<username>" with the motivation that some applications can bypass the X11 permission settings. See https://gitlab.gnome.org/GNOME/mutter/-/commit/b61b0478f7538db27c35dff48f4581a811458116. In Fedora when starting Gnome with X11, "xhost +SI:localuser:<username>" is set at login by the script /etc/X11/xinit/xinitrc.d/localuser.sh, which is a part of the xorg-x11-xinit package. The script was added to the package 16 years ago, but I can't find any information about why it was added. See https://src.fedoraproject.org/rpms/xorg-x11-xinit/c/6cf01551afb21a2de9a54fb009d910bb7595fa08. This now means that there is a difference in security settings in Fedora depending on if users decide to use Gnome under X11 or under Wayland. Can adding "SI:localuser:<username>" still be considered safe? Or do you have any additional info on why localuser.sh was added initially? Reproducible: Always
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21. Fedora Linux 38 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.