After i updated to newest version of tumbleweed the yast gui does not work in any desktop (KDE or Gnome) below are the errors I see in the y2log file
2024-12-12 14:11:48 <1> SuSE-Tumbleweed(36173) [ui] YUI.cc(YUI):83 This is libyui 4.6.3
2024-12-12 14:11:48 <1> SuSE-Tumbleweed(36173) [ui] YUI.cc(YUI):84 Creating UI with threads
2024-12-12 14:11:48 <1> SuSE-Tumbleweed(36173) [qt-ui] YQUI.cc(YQUI):110 This is libyui-qt 4.6.3
2024-12-12 14:11:48 <3> SuSE-Tumbleweed(36173) [qt-ui] YQUI.cc(qMessageHandler):660 Failed to create wl_display (No such file or directory)
2024-12-12 14:11:48 <1> SuSE-Tumbleweed(36173) [qt-ui] YQUI.cc(qMessageHandler):647 Could not load the Qt platform plugin âwaylandâ in ââ even though it was found.
2024-12-12 14:11:48 <1> SuSE-Tumbleweed(36173) [qt-ui] YQUI.cc(qMessageHandler):647 Could not load the Qt platform plugin âxcbâ in ââ even though it was found.
2024-12-12 14:11:48 <3> SuSE-Tumbleweed(36173) [qt-ui] YQUI.cc(qMessageHandler):660 This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
2024-12-12 14:11:48 <3> SuSE-Tumbleweed(36173) [qt-ui] YQUI.cc(qMessageHandler):660
2024-12-12 14:11:48 <3> SuSE-Tumbleweed(36173) [qt-ui] YQUI.cc(qMessageHandler):660 Available platform plugins are: dxcb, xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx.
2024-12-12 14:11:48 <3> SuSE-Tumbleweed(36173) [qt-ui] YQUI.cc(qMessageHandler):660
The text version does work . Im not sure what the issue is any help would be appreciated.
Also one of the âsolutionsâ i found online was to boot to the tumbleweed dvd and run the repair option and reinstall the system files. This also did not work
here is another crazy issue I can run Qt programs as a normal user but whenever it needs root elevation it fails:
SuSE-Tumbleweed:/home/hoi # wireshark
** (wireshark:144402) 21:40:55.512396 [GUI CRITICAL] â This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
I found this thread, now when I do what badshah400 advises it works. The yast2 gui appears. Im not sure why this is or how to fix. any help would be appreciated and may help other users
(now my issue is that when i try to launch the program, in this case yast2 from the desktop as normal user I get the dialog box for the root password, after I put in the password the yast2 gui fails to appear)
also when do use su from command prompt and then launch the program, after I close the yast2 gui I get this message:
SuSE-Tumbleweed:/home/hoi # yast2
QStandardPaths: runtime directory â/run/user/1000â is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 475
I am seeing exactly the same error when trying to run yast2 in Hyprland. There are some suggestions out there but didnât tried. There is a command that one of the guru here posted not long ago and it works in hyprland. If I see the thread I will post it here.
su keeps your userâs session environment which is what the error is about. Always use su - to switch to root user environment. If you also need to run Wayland programs:
su -w WAYLAND_DISPLAY -l root
And exactly like OP you do not explain how you run yast2 so it is impossible to guess what goes wrong.
su -c yast2, kdesu yast2, /usr/bin/xdg-su -c /sbin/yast2
su (root password) then as root yast2 with no joy
Thatâs in Hyprland, then I found your post in this thread:
That was the one that worked in Hyprland.
On a side note in wayfire the yast2 launcher doesnât work. The command under the launcher is /usr/bin/xdg-su -c /sbin/yast2
but running su -c yast2 in the terminal, yast2 works.