I have been using gparted for years under any ubuntu version. gparted won't start under ubuntu 17.10. Is this a bug of ubuntu 17.10?

share|improve this question

marked as duplicate by pomsky, karel, Videonauth, Charles Green, Jeremy Bicha Oct 24 '17 at 15:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

It is known bug of Wayland (I read it as "high security is better than user comfort" and I do not support developer's logic).
It was already reported (see bug 1652282).
Other root applications are broken on Wayland too (see bug 1713313 and bug 1713311 ).

You should switch to "Ubuntu on Xorg" session for such applications.

For applications which use su-to-root and pkexec you may want to add this code to /etc/xdg/autostart/xhost.desktop (see my comment at launchpad) at your own risk with command below:

cat <<EOF | sudo tee /etc/xdg/autostart/xhost.desktop
[Desktop Entry]
Name=xhost
Comment=Fix graphical root applications
Exec="xhost +si:localuser:root"
Terminal=false
Type=Application
EOF
share|improve this answer
    
Too complicated for me. I don't know Wayland neither do I know how to switch to "Ubuntu on Xorg". Can you recommend another program to work with partitions under 17.10? – Ulrich Oct 22 '17 at 11:05
5  
@Ulrich -- just type xhost +si:localuser:root in the terminal before launching gparted – ravery Oct 22 '17 at 11:16
    
@Ulrich, you can choose x11 or wayland when you log into Ubuntu by clicking on the circular icon on the login page. – Organic Marble Oct 22 '17 at 12:35
    
@Ulrich askubuntu.com/questions/961304/… – pomsky Oct 22 '17 at 18:52
    
Ravery's comment works, it should be added as an answer – Andrew Dec 3 '17 at 20:32

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