After running the following command
xhost +si:localuser:root
sudo -H gparted
and
pkexec gparted
work, but
gksudo gparted
is still not working.
After running the following command
xhost +si:localuser:root
sudo -H gparted
and
pkexec gparted
work, but
gksudo gparted
is still not working.