After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776707 - (gpartedbin:4209): Gtk-WARNING **: cannot open display: :0
(gpartedbin:4209): Gtk-WARNING **: cannot open display: :0
Status: RESOLVED DUPLICATE of bug 776437
Product: gparted
Classification: Other
Component: application
0.27.0
Other Linux
: Normal normal
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2017-01-02 10:24 UTC by jan
Modified: 2017-01-02 11:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jan 2017-01-02 10:24:55 UTC
On a freshly installed 64bit Fedora 25 on a Thinkpad X230, # gparted in terminal returns the creation of a bunch of symlinks, then one line saying 

(gpartedbin:4209): Gtk-WARNING **: cannot open display: :0

and then deletes all the symlinks it created. So basically, the application is not running on an untweaked Fedora.

I will try to provide any information I can, however this is the first bug I'm trying to report so please be gentle.
Comment 1 Mike Fleetwood 2017-01-02 11:20:57 UTC
This is a known limitation and design choice that Wayland doesn't allow
root privileged applications to work.

One workaround is to run the following in a terminal before running
GParted to allow root applications to connect to the X server under
Wayland.
  xhost +si:localuser:root

Another workaround it to continue to use the X.org display server rather
than the Wayland display server.

More information can be found in the:
  Common Fedora 25 Bugs / Running graphical apps with root privileges
  (e.g. gparted) does not work on Wayland
  https://fedoraproject.org/wiki/Common_F25_bugs#wayland-root-apps
Comment 2 Mike Fleetwood 2017-01-02 11:21:24 UTC

*** This bug has been marked as a duplicate of bug 776437 ***