On 12/7/2017 3:48 PM, Jeremy Bicha wrote: > 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.
If gparted is ever ported to gtk3 ( and there are no signs that it will be any time soon ), then it will no longer be needed. That's no reason not to use it now. > We do not want to encourage other apps to use this workaround. We do > want to encourage gtk2 apps to switch to gtk3. Then fix the bug in gdm so that it sets up an XAUTHORITY file just like its man page says it is supposed to. > 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. If you are asking me to go back to shipping gparted in a known broken state, the answer is no.
signature.asc
Description: OpenPGP digital signature