Following a reboot afetr zypper dup today I am unable to start YAST from its icon or in a terminal as root. I run KDE btw.
Tumbleweed:/home/stuart # yast2
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.
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
/sbin/yast2: line 455: 4047 Aborted (core dumped) $y2ccbin $Y2UI_ARGS "$@"
Tumbleweed:/home/stuart #
This has been happening to me under Gnome for the past few Tumbleweed releases (most recently on snapshot 20190514). Here’s the error output:
> gnomesu yast2
(gnomesu:3710): Gtk-WARNING **: 23:04:04.172: 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.