I updated the bug description to point to how openSUSE handles this bug and opened a mutter task in case we want to copy it.
** Also affects: mutter (Ubuntu) Importance: Undecided Status: New ** Description changed: When running wayland, GDM fails to set up an XAUTHORITY file and instead relies on the process UID for authentication. This prevents applications run as root, like gparted or synaptic from connecting to the server. GDM needs to set up the XAUTHORITY file when running Xwayland just like it does when it runs the conventional Xorg. A large list of applications broken by this can be found here: https://codesearch.debian.net/search?q=Exec%3Dsu-to- root+filetype%3Adesktop+path%3A*%2Fapplications%2F*&perpkg=1 + + openSUSE handles this issue with this patch (from the changelog, it looks like they implemented this for their YaST settings app): + https://build.opensuse.org/package/view_file/GNOME:Factory/mutter/mutter-xwayland-create-xauthority.patch?expand=1 ** Changed in: mutter (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1652282 Title: Xwayland not using XAUTHORITY, prevents root applications from connecting Status in gdm: Expired Status in GParted: Fix Released Status in Ubuntu GNOME: Invalid Status in gdm3 package in Ubuntu: Confirmed Status in gparted package in Ubuntu: Invalid Status in mutter package in Ubuntu: Confirmed Bug description: When running wayland, GDM fails to set up an XAUTHORITY file and instead relies on the process UID for authentication. This prevents applications run as root, like gparted or synaptic from connecting to the server. GDM needs to set up the XAUTHORITY file when running Xwayland just like it does when it runs the conventional Xorg. A large list of applications broken by this can be found here: https://codesearch.debian.net/search?q=Exec%3Dsu-to- root+filetype%3Adesktop+path%3A*%2Fapplications%2F*&perpkg=1 openSUSE handles this issue with this patch (from the changelog, it looks like they implemented this for their YaST settings app): https://build.opensuse.org/package/view_file/GNOME:Factory/mutter/mutter-xwayland-create-xauthority.patch?expand=1 To manage notifications about this bug go to: https://bugs.launchpad.net/gdm/+bug/1652282/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp