[Bug 1652282] Re: Xwayland not using XAUTHORITY, prevents root applications from connecting

Phillip Susi psusi at ubuntu.com
Thu Dec 7 14:13:47 UTC 2017


No, it is NOT the new standard since as I have said, wayland apps have
no issue running as root.  Applications will NOT be totally rewritten to
split off the parts that need root into a separate program.  YOU stop
changing the title, YOU are being a nuisance: this does not just affect
gparted.  In fact, gparted has now worked around the issue by
automatically running xhost to fix the broken configuration.

Jeremy, you can easily see it is true by simply suing to root and
running any native wayland ( gdm3 ) application ( like gedit ).  It
works just fine.

As long as gdm3 continues to NOT perform the Xauthority configuration
its man page says it is supposed to, it is a bug in gdm3.


** Also affects: gdm3 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/1652282

Title:
  Xwayland not using XAUTHORITY, prevents root applications from
  connecting

Status in gdm:
  Confirmed
Status in GParted:
  Fix Released
Status in Ubuntu GNOME:
  Triaged
Status in wayland:
  New
Status in gdm3 package in Ubuntu:
  New
Status in gparted package in Ubuntu:
  Invalid

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1652282/+subscriptions



More information about the foundations-bugs mailing list