some programs require a different user to run, e.g. gparted wants to run as root. to allow, xhost +local: should work. it says "unable to open DISPLAY :1". i am not sure if this is related to bug99489, i recall this working, but am not sure any more. this is on arch linux, versions: weston 1.12.0-2 wayland 1.12.0-1 gnome-shell 3.22.2+18+gdf7727a-1 xorg-server 1.19.1-1
xhost is an X11 client, it needs to conenct to the Xserver itself to change the acces control on the xserver. What it tells you with "unable to open DISPLAY :1" is that it cannot connect to the X server. - Is your Xserver running on display :1 ? - Is the user yyou execute "xhost" is allowed to conenc tto the Xserver :1? (for example, if you run "xhost +local:" as root, it won;t work, because root is not allowed to conenct to the running X server of another user).
Closing this bug as it should work fine; please reopen if you are still having issues.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.