Bug 1379148

Summary: gparted will not start under wayland
Product: [Fedora] Fedora Reporter: Matthias31 <fiedler_matthias>
Component: gpartedAssignee: Mukundan Ragavan <nonamedotc>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: dakingun, mike.fleetwood, nonamedotc
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-29 01:51:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthias31 2016-09-25 12:39:09 UTC
Description of problem:
you are nor able to start gparted under wayland

Version-Release number of selected component (if applicable):


How reproducible:everytime


Steps to Reproduce:
1.swich displaymanager to wayland
2.install gparted
3.start gparted

Actual results:
gpated will not starts under wayland

Expected results:
gparted starts under wayland

Additional info:

Comment 1 Matthias31 2016-09-25 13:03:31 UTC
A Error Message did not appear.

 output from journalctl -f 
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
      Pass -q to turn off this notice.
-- Logs begin at Mi 2016-08-17 16:42:17 CEST. --
Sep 25 14:59:46 localhost.localdomain org.gnome.Shell.desktop[2864]: (gnome-shell:2864): St-WARNING **: length values must specify a unit
Sep 25 15:00:41 localhost.localdomain org.gnome.Shell.desktop[2864]: (gnome-shell:2864): St-WARNING **: length values must specify a unit
Sep 25 15:00:45 localhost.localdomain org.gnome.Shell.desktop[2864]: (gnome-shell:2864): St-WARNING **: length values must specify a unit
Sep 25 15:02:12 localhost.localdomain org.gnome.Shell.desktop[2864]: (gnome-shell:2864): St-WARNING **: length values must specify a unit
Sep 25 15:02:12 localhost.localdomain org.gnome.Shell.desktop[2864]: (gnome-shell:2864): St-WARNING **: length values must specify a unit
Sep 25 15:02:28 localhost.localdomain dbus-daemon[2831]: Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service'
Sep 25 15:02:28 localhost.localdomain systemd[2794]: Starting GNOME Terminal Server...
Sep 25 15:02:28 localhost.localdomain dbus-daemon[2831]: Successfully activated service 'org.gnome.Terminal'
Sep 25 15:02:28 localhost.localdomain systemd[2794]: Started GNOME Terminal Server.
Sep 25 15:02:28 localhost.localdomain gnome-terminal-server[5019]: (gnome-terminal-server:5019): Gtk-WARNING **: Allocating size to GtkScrollbar 0x556f6d2ae1c0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Sep 25 15:02:33 localhost.localdomain org.gnome.Shell.desktop[2864]: (gnome-shell:2864): St-WARNING **: length values must specify a unit
Sep 25 15:02:47 localhost.localdomain pkexec[5068]: pam_systemd(polkit-1:session): Cannot create session: Already running in a session
Sep 25 15:02:47 localhost.localdomain pkexec[5068]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Sep 25 15:02:47 localhost.localdomain gparted.desktop[5065]: No protocol specified
Sep 25 15:02:47 localhost.localdomain gparted.desktop[5065]: (gpartedbin:5136): Gtk-WARNING **: cannot open display: :0

Comment 2 Mike Fleetwood 2016-09-28 07:32:22 UTC
This is caused by Wayland not allowing processes run as a different user
to display on the desktop.  Therefore using "su" or "sudo" to display a
graphical application doesn't work.

Simple workaround is to run "xhost +local:" in the terminal first.

This is documented in the GParted forum here:
  [SOLVED] How to run GParted on a GNOME on Wayland desktop
  http://gparted-forum.surf4.info/viewtopic.php?id=17446

This bug should be closed as a duplicate of bug 1274451.
(But I don't have permission to do that).

Thanks,
Mike Fleetwood (GParted Developer)

Comment 3 Mukundan Ragavan 2016-09-29 01:51:32 UTC

*** This bug has been marked as a duplicate of bug 1274451 ***