[Bug 1737248] Re: Do not use --enable-xhost-root

Thomas Beyer 1737248 at bugs.launchpad.net
Fri Jan 19 22:28:34 UTC 2018


well, this is bad decision because it simply broke gparted!
workaround (switching to gnomedisk...hahaha) it not helping or fixing any problem with gparted and wayland.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/1737248

Title:
  Do not use --enable-xhost-root

Status in gparted package in Ubuntu:
  Fix Released
Status in gparted package in Debian:
  New

Bug description:
  I'm filing this as a tracking bug.

  Ubuntu does not wish to use the --enable-xhost-root option in gparted. 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.

  The proper fix is for gparted to run the GUI with normal permissions
  and use non-graphical PolicyKit helpers to perform the specific
  actions that need elevated permissions

  Workarounds for affected users
  ==============================
  1. Log out. Click your name on the login screen then click the gear button and select Ubuntu on Xorg (or GNOME on Xorg). Enter your password.

  2. Or, try using the GNOME Disks app (gnome-disk-utility) which runs
  fine with Wayland and is already installed by default.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/1737248/+subscriptions



More information about the foundations-bugs mailing list