Gparted not working in Wayland Ubuntu

Bug #1726545 reported by florin
60
This bug affects 11 people
Affects Status Importance Assigned to Milestone
gparted (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Some apps seem to have problems under Wayland in the new Ubuntu 17.10. Among them, gParted, which is quite a necessary piece of software, without any other capable enough option.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gparted 0.28.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 23 22:09:57 2017
InstallationDate: Installed on 2017-10-21 (1 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
SourcePackage: gparted
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
florin (florin-arjocu) wrote :
Revision history for this message
Norbert (nrbrtx) wrote :

Thanks for reporting. It's already known - see bug 1713313.
Please mark as duplicate (I got timeout issue).

Changed in gparted (Ubuntu):
status: New → Confirmed
Revision history for this message
Curtis Gedak (gedakc) wrote :

An interim fix is available in the upstream GParted 0.30.0 version.

Bug 776437 - GParted fails to run as root under Wayland
https://bugzilla.gnome.org/show_bug.cgi?id=776437

Revision history for this message
Phillip Susi (psusi) wrote :

I keep getting a timeout as well.

Revision history for this message
Jan Claeys (janc) wrote :

For reference: Phillip reported the timeout as bug #1731268

Revision history for this message
Dan (randloki) wrote :

Hello, I was wondering if this bug was fixed either on Gparted or on Ubuntu Wayland end? I have a workaround I would like to remove if so as its a security risk(the workaround).

Revision history for this message
Curtis Gedak (gedakc) wrote :

The upstream GParted team added a work-around to version 0.30.0 to enable it to run seamlessly under Wayland.

See https://gparted.org/news.php?item=214

Unfortunately the packager for Ubuntu decided to not use the --enable-xhost-root work-around.

See https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/1737248

The consequence is that GParted only runs seamlessly on X, and not on Wayland.

You might try petitioning the packager who made the decision.

Revision history for this message
Ubfan (ubfan1) wrote :

Still a problem in Ubuntu 18.04.

Revision history for this message
Alexander Kallenbach (kallenbachalex) wrote :

Still a problem in Ubuntu 18.10.

Revision history for this message
Bob Hyman (bob-hyman) wrote :

And in Ubuntu 19.04. This is getting old. Maybe wayland should relent from their purist stance (after all Unix always allowed root to do absolutely anything to the file system, and that's the keys to the kingdom). Maybe Ubuntu should accept the workaround GParted implements.
But neither side wants to compromise their principals, resulting in a system that's not self-consistent.

Meantime, I've implemented a SUDO wrapper that works for Gparted and other GUI apps, as advised by https://wiki.archlinux.org/index.php/Running_GUI_applications_as_root#Using_xhost

Norbert (nrbrtx)
tags: removed: artful
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.