y default 17.10 does not allow root to access your display.
Try the command
xhost +si:localuser:root
then launch gedit with root privilege.
ref: https://askubuntu.com/questions/967389/gtk-ubuntu-17-10
No comments:
Post a Comment
Terima kasih