GNOME Bugzilla – Bug 776707
(gpartedbin:4209): Gtk-WARNING **: cannot open display: :0
Last modified: 2017-01-02 11:21:24 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.
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
*** This bug has been marked as a duplicate of bug 776437 ***