On Sun, Jul 23, 2017 at 08:15:11PM +0200, Patrick Dupre wrote:
> In a fresh install of f26, I get
> cannot open display: 0:
> when I try to run a X application (for example gparted) with root
> Are there new rules to run a X application (compared with f24)?
> echo $DISPLAY 
> 0:

This is a known behavior of Wayland. If you need to run GUI programs as
root, use the X11 fallback. Running GUI programs as root isn't great
practice anyway; ideally, these programs should be rewritten to have
user-level GUI components and limited-functionality root-mode helpers.

-- 
Matthew Miller
<mat...@fedoraproject.org>
Fedora Project Leader
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to