FS#69410 - [gparted] XWayland sessions depend on xorg-xhost

Attached to Project: Arch Linux
Opened by Devin Cofer (Ranguvar) - Saturday, 23 January 2021, 02:44 GMT
Last edited by Christian Hesse (eworm) - Wednesday, 05 May 2021, 08:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Using gparted 1.1.0-1 with the Sway compositor for Wayland, the program fails to start under a normal user session.
This even after proper authentication.


Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
Authorization required, but no authorization protocol specified
Unable to init server: Could not connect: Connection refused
(gpartedbin:94401): Gtk-WARNING **: 21:39:49.776: cannot open display: :0


After some searching, this is resolved by installing xorg-xhost.
I believe it should be added as an optdepends for at least some Wayland compositors, or a full dependency.


localuser:root being added to access control list
Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
GParted 1.1.0
configuration --enable-libparted-dmraid --enable-online-resize
libparted 3.3

localuser:root being removed from access control list
This task depends upon

Closed by  Christian Hesse (eworm)
Wednesday, 05 May 2021, 08:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  gparted 1.3.0-3
Comment by Gunnar Bretthauer (Taijian) - Wednesday, 05 May 2021, 08:22 GMT
xorg-xhost should really only be an opt-depend, not a hard depend for gparted.
At least Gnome on Wayland functions just fine without it, so it is really not needed (= not a dependency) on those systems!

Loading...