1

I want to use GParted on Ubuntu Artful (17.10) which is running Gnome on Wayland. When I start GParted I get the gksu prompt to enter my password but then nothing happens.

When I start GParted from the command line via gksudo gparted I see the possible problem:

Gtk-WARNING **: cannot open display: :0

When I run GParted in the XOrg Gnome session everything works fine.

1 Answer 1

3

I figured it out. I needed to allow root to display the application on the desktop. To do that I had to enter this into the command line

xhost +SI:localuser:root

Found the solution here gparted-forum.surf4.info and here ask.fedoraproject.org

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.