some programs require a different user to run, e.g. gparted wants to run as root. to allow,
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:
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.