Bug#883812: gparted: Please don't use --enable-xhost-root

Jeremy Bicha jbicha at debian.org
Thu Dec 7 20:48:51 UTC 2017


Source: gparted
Version: 0.30.0-3
Severity: important
X-Debbugs-CC: pkg-gnome-maintainers at lists.alioth.debian.org

Please don't use --enable-xhost-root in Debian's gparted package. This
ugly workaround was introduced upstream in
https://git.gnome.org/browse/gparted/commit/?id=f38ccd02

However, it only works because gparted still uses gtk2 and will stop
working once it's ported to gtk3. That is because gtk3 apps benefit
from native Wayland support, but gtk2 apps run under XWayland. xhost
won't help when X isn't used.

We do not want to encourage other apps to use this workaround. We do
want to encourage gtk2 apps to switch to gtk3.

Until gparted can be ported to run the GUI with normal permissions and
use non-graphical PolicyKit helpers to perform the specific actions
that need elevated permissions, the recommend workaround is to simply
use the GNOME on Xorg session or some other desktop session.

Alternatively, the GNOME Disks app (gnome-disk-utility) runs fine with Wayland.

On behalf of the Debian GNOME team,
Jeremy Bicha



More information about the pkg-gnome-maintainers mailing list