[Bug 1737248] [NEW] Do not use --enable-xhost-root
Jeremy Bicha
jeremy at bicha.net
Fri Dec 8 20:55:13 UTC 2017
Public bug reported:
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.
** Affects: gparted (Ubuntu)
Importance: Undecided
Status: Fix Committed
** Affects: gparted (Debian)
Importance: Unknown
Status: Unknown
** Tags: bionic wayland wayland-session
** Bug watch added: Debian Bug tracker #883812
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883812
** Also affects: gparted (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883812
Importance: Unknown
Status: Unknown
--
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 Committed
Status in gparted package in Debian:
Unknown
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