[Bug 1652282] Re: GParted does not work in GNOME on Wayland
Phillip Susi
psusi at ubuntu.com
Thu Nov 16 14:47:35 UTC 2017
No, you misunderstand. Wayland applications running as root work just
fine under Wayland. It is X11 applications that do not work, and the
reason it does not work is because gdm misconfigures Xwayland. The gdm
man page says it does one thing, but it in fact does another, therefore,
it is broken.
** Changed in: gparted (Ubuntu)
Status: Confirmed => Invalid
** 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):
+ 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.
- 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
+ A large list of applications broken by this can be found here:
- (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)
+ https://codesearch.debian.net/search?q=Exec%3Dsu-to-
+ root+filetype%3Adesktop+path%3A*%2Fapplications%2F*&perpkg=1
--
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:
GParted does not work in GNOME on Wayland
Status in gdm:
Confirmed
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.
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