[Bug 1083907] New: Yast2 does not start under Wayland on Leap 15.0
http://bugzilla.suse.com/show_bug.cgi?id=1083907 Bug ID: 1083907 Summary: Yast2 does not start under Wayland on Leap 15.0 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: jroedel@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- I can not start the Yast2 GUI on current Leap 15 when Wayland is used. The error message is: $ xdg-su -c "/sbin/yast2" (gnomesu:3594): Gtk-WARNING **: gtk_window_set_titlebar() called on a realized window Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/0', please create it with 0700 permissions. No protocol specified No protocol specified qt.qpa.screen: QXcbConnection: Could not connect to display :0 Could not connect to any X display. I verified that Xwayland is running, and I can start an xterm, so the X emulation seems to work. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c1
Steffen Winterfeldt
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c2
Martin Vidner
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c3
Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c4
--- Comment #4 from Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c5
--- Comment #5 from Fabian Vogt
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c6
--- Comment #6 from Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c7
--- Comment #7 from Fabian Vogt
Why doesn't Qt do that by default?
I don't know either. Until recently, the XCB plugin did actually abort() when connection failed, maybe that's why they didn't implement it yet. AFAIK this is planned for Qt 5.11 - maybe we can backport it. The question is: Do we want that? It would result in Qt applications on GNOME Wayland to use wayland instead of using Xwayland, which is a pretty big behaviour change. So I don't think so.
Anyways $DISPLAY would be exported if bug 1084737 leads to using xauth for Xwayland.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c8
--- Comment #8 from Ludwig Nussel
(In reply to Ludwig Nussel from comment #6)
Why doesn't Qt do that by default?
I don't know either. Until recently, the XCB plugin did actually abort() when connection failed, maybe that's why they didn't implement it yet. AFAIK this is planned for Qt 5.11 - maybe we can backport it.
The question is: Do we want that? It would result in Qt applications on GNOME Wayland to use wayland instead of using Xwayland, which is a pretty big behaviour change.
What's the benefit from running Qt apps under GNOME Wayland through the X compat layer? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c9
--- Comment #9 from Fabian Vogt
(In reply to Fabian Vogt from comment #7)
(In reply to Ludwig Nussel from comment #6)
Why doesn't Qt do that by default?
I don't know either. Until recently, the XCB plugin did actually abort() when connection failed, maybe that's why they didn't implement it yet. AFAIK this is planned for Qt 5.11 - maybe we can backport it.
The question is: Do we want that? It would result in Qt applications on GNOME Wayland to use wayland instead of using Xwayland, which is a pretty big behaviour change.
What's the benefit from running Qt apps under GNOME Wayland through the X compat layer?
Many: 1) Not hitting missing features in the compositor 2) Not hitting missing features in the client 3) Not hitting missing features in the protocol (middle click paste?) 4) Not hitting protocol incompatibilities 5) Not hitting other behaviour changes - Qt applications will look different as the X font settings aren't used anymore, for instance Also, some applications might unconditionally expect an X connection, which means they just crash. Many applications (like YaST) didn't account for wayland which can result in missing window icons. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1083907
Michal Filka
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c10
Lukas Ocilka
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c11
Fabian Vogt
Apart from comment #3 and comment #5, is there anything else that YaST needs to implement? In which exact circumstances should it do so?
Right now, nothing. There might be a point in the future when xdg-su is no longer the appropriate tool in the .desktop file, but for now (with the Xauthority patches for mutter and kwin_wayland) it works fine again. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c12
Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c13
--- Comment #13 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c15
Josef Reidinger
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c16
Josef Reidinger
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c17
--- Comment #17 from Josef Reidinger
http://bugzilla.suse.com/show_bug.cgi?id=1083907
http://bugzilla.suse.com/show_bug.cgi?id=1083907#c18
Josef Reidinger
participants (1)
-
bugzilla_noreply@novell.com