Bug 1537529

Summary: gnome-system-log cant open display on Wayland
Product: Red Hat Enterprise Linux 7 Reporter: Tomas Pelka <tpelka>
Component: mutterAssignee: Florian Müllner <fmuellner>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact: Jana Heves <jsvarova>
Priority: unspecified    
Version: 7.5CC: fmuellner, jkoten, mboisver, mclasen, rstrode
Target Milestone: rcFlags: jsvarova: needinfo? (rstrode)
Target Release: 7.8   
Hardware: Unspecified   
OS: Unspecified   
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: 2020-07-13 20:01:48 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:
Bug Depends On:    
Bug Blocks: Red Hat1738389    

Description Tomas Pelka 2018-01-23 12:55:17 UTC
Description of problem:
gnome-system-log is broken on wayland

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

How reproducible:

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 19:37:11 UTC
that's because we don't allow root to access the user's Xwayland display. 

$ 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.