[Bug 1737248] Re: Do not use --enable-xhost-root
corrado venturini
corradoventu at gmail.com
Mon Jan 7 16:43:09 UTC 2019
Still having this problem:
corrado at corrado-p13-dd-1107-x:~$ apt policy gparted
gparted:
Installed: 0.32.0-1ubuntu1
Candidate: 0.32.0-1ubuntu1
Version table:
*** 0.32.0-1ubuntu1 500
500 http://archive.ubuntu.com/ubuntu disco/main amd64 Packages
100 /var/lib/dpkg/status
corrado at corrado-p13-dd-1107-x:~$
--
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