Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1537529 - gnome-system-log cant open display on Wayland [NEEDINFO]
gnome-system-log cant open display on Wayland
Status: ASSIGNED
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: mutter (Show other bugs)
7.5
Unspecified Unspecified
unspecified Severity medium
: rc
: ---
Assigned To: Florian Müllner
Desktop QE
Jana Heves
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-23 07:55 EST by Tomas Pelka
Modified: 2018-03-21 16:46 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
*gnome-system-log* does not work on *Wayland* Currently, when logged in a *Wayland* session, the root user is not allowed to access the user's Xwayland display. As a consequence, running the *gnome-system-log* utility in terminal does not display system log files. To work around this problem, run the following *xhost* server access control program as follows: $ xhost +si:localuser:root
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
jsvarova: needinfo? (rstrode)


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
GNOME Bugzilla 789867 None None None 2018-02-13 14:37 EST

  None (edit)
Description Tomas Pelka 2018-01-23 07:55:17 EST
Description of problem:
gnome-system-log is broken on wayland

Version-Release number of selected component (if applicable):
gnome-system-log-3.9.90-3.el7
xorg-x11-server-Xwayland-1.19.5-2.el7
libwayland-*-1.14.0-2.el7

How reproducible:
100%

Steps to Reproduce:
1. be logged into wayland session
2. open terminal
3. run gnome-system-log

Actual results:
No protocol specified

(logview:11210): Gtk-WARNING **: cannot open display: :1

Expected results:


Additional info:
Comment 1 Ray Strode [halfline] 2018-02-13 14:37:11 EST
that's because we don't allow root to access the user's Xwayland display. 
running:

$ xhost +si:localuser:root

would probably fix it. 

mutter could presumably fix it with an XAddHost call.  Probably going to miss 7.5 at this point.

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