Bug 1379148 - gparted will not start under wayland
Summary: gparted will not start under wayland
Keywords:
Status: CLOSED DUPLICATE of bug 1274451
Alias: None
Product: Fedora
Classification: Fedora
Component: gparted
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mukundan Ragavan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-25 12:39 UTC by Matthias31
Modified: 2016-09-29 01:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-29 01:51:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.