[Bug 1652282] Re: GParted does not work in GNOME on Wayland

Phillip Susi psusi at ubuntu.com
Thu Nov 2 18:35:06 UTC 2017


It appears to me that the issue is with gdm3.  Its man page says it is
supposed to create an XAUTHORITY file and set the environment variable
to point to it.  When running wayland, it does not do this and instead
relies on authenticating clients by the UID of the process.  It should
not be doing this.


** Changed in: gparted (Ubuntu)
       Status: Triaged => Invalid

** Summary changed:

- GParted does not work in GNOME on Wayland
+ Xwayland not using XAUTHORITY, prevents root applications from connecting

** Description changed:

- I have found that after switching from Xorg to Wayland on Ubuntu GNOME
- 16.10 with GNOME 3.22 that GParted does not run when I try to run it as
- root. That is when I click the icon and enter my password nothing
- happens. I have found that when running what is run when the icon is
- clicked that the output in Terminal is (gparted-pkexec):
- 
-     Created symlink /run/systemd/system/-.mount → /dev/null.
-     Created symlink /run/systemd/system/boot-efi.mount → /dev/null.
-     Created symlink /run/systemd/system/boot.mount → /dev/null.
-     Created symlink /run/systemd/system/run-user-1000.mount → /dev/null.
-     Created symlink /run/systemd/system/run-user-120.mount → /dev/null.
-     Created symlink /run/systemd/system/tmp.mount → /dev/null.
-     No protocol specified
- 
-     (gpartedbin:16832): Gtk-WARNING **: cannot open display: :0
-     Removed /run/systemd/system/-.mount.
-     Removed /run/systemd/system/boot-efi.mount.
-     Removed /run/systemd/system/boot.mount.
-     Removed /run/systemd/system/run-user-1000.mount.
-     Removed /run/systemd/system/run-user-120.mount.
-     Removed /run/systemd/system/tmp.mount.
- 
- So I am now unable to launch and use GParted as root which is really the
- only way I can run it in order to make changes.
- 
- ProblemType: Bug
- DistroRelease: Ubuntu 16.10
- Package: gparted 0.25.0-1
- ProcVersionSignature: Ubuntu 4.8.0-32.34-generic 4.8.11
- Uname: Linux 4.8.0-32-generic x86_64
- ApportVersion: 2.20.3-0ubuntu8.2
- Architecture: amd64
- CurrentDesktop: GNOME
- Date: Fri Dec 23 11:13:13 2016
- InstallationDate: Installed on 2016-05-15 (221 days ago)
- InstallationMedia: Ubuntu-GNOME 15.10 "Wily Werewolf" - Release amd64 (20151021)
- SourcePackage: gparted
- UpgradeStatus: Upgraded to yakkety on 2016-10-19 (64 days ago)
+ 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.

-- 
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 GParted:
  Fix Released
Status in Ubuntu GNOME:
  Triaged
Status in wayland:
  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.

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



More information about the foundations-bugs mailing list