basta cambiare
Codice: Seleziona tutto
ENABLE_XHOST_ROOT=no
GRANTED_XHOST_ROOT=no
Codice: Seleziona tutto
ENABLE_XHOST_ROOT=yes
GRANTED_XHOST_ROOT=yesCodice: Seleziona tutto
# Interim workaround to allow GParted run by root access to the
# X11 display server under Wayland. If configured with
# './configure --enable-xhost-root', the xhost command is
# available and root has not been granted access to the X11
# display via xhost, then grant access.
#
ENABLE_XHOST_ROOT=no
GRANTED_XHOST_ROOT=no
if test "x$ENABLE_XHOST_ROOT" = 'xyes' && xhost 1> /dev/null 2>&1; then
if ! xhost | grep -qi 'SI:localuser:root$'; then
xhost +SI:localuser:root
GRANTED_XHOST_ROOT=yes
fi
fi
