Bugzilla – Bug 1134797
Yast2 won't load in Wayland session, 'xhost +' works temporarily
Last modified: 2019-05-30 13:26:47 UTC
On Tumbleweed 20190509, YaST2 (GUI) does not open in Gnome Wayland Session. It works in X11 session. In the Wayland session, running 'xhost +' or 'xhost si:localuser:$USER' on the terminal loads YaST2 but this fix is not persistent across boot. This is not a problem in Leap 15. Running YaST2 through 'xdg-su -c yast2' provides the following: _______________________________________________________________________________ jeff@jeffpc:~> xdg-su -c yast2 (gnomesu:13236): Gtk-WARNING **: 20:37:33.321: gtk_window_set_titlebar() called on a realized window No protocol specified No protocol specified qt.qpa.xcb: could not connect to display :0 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb. /sbin/yast2: line 461: 13264 Aborted (core dumped) $y2ccbin $Y2UI_ARGS "$@" ________________________________________________________________________________ My system information: NAME="openSUSE Tumbleweed" # VERSION="20190509" ID="opensuse-tumbleweed" ID_LIKE="opensuse suse" VERSION_ID="20190509" PRETTY_NAME="openSUSE Tumbleweed"
Thanks for the report! Do you have the Wayland backend for Qt installed? rpm -q libqt5-qtwayland
I see the same issue and I can confirm that installation of the package libqt5-qtwayland works for me.
(In reply to Martin Vidner from comment #1) > Thanks for the report! > > Do you have the Wayland backend for Qt installed? > rpm -q libqt5-qtwayland Sorry, I do not have access to the Gnome TW installation currently to test this. Looks like Martin Liška's comment answers your question. If that is the case, then perhaps the libqt5-qtwayland should be installed by default? Regards, Jeff J
Qt5 is configured to use XCB by default and wayland only as fallback (this will likely change with Qt 5.13 at some point). The issue here seems to be that xdg-su broke with X11 on GNOME with Xwayland, so reassigning.
*** Bug 1135104 has been marked as a duplicate of this bug. ***
@hpj, this is your xauth patch in gdm/mutter that got disabled (and not rebased in time for 3.32). Can you please have a look at this? Keep in mind that TW currently still runs GDM 3.28 (due to other issues around GDM 3.32) - in combination with mutter 3.32
Xiaoguang has helped to handle the issue at: https://build.opensuse.org/request/show/705111 So I am closing it. Thank you everyone!
*** Bug 1136647 has been marked as a duplicate of this bug. ***