YaST2 won't run in gui

Hello. I installed OpenSuSe Thumbleweed with GNOME. I did something yesterday and YaST2 won’t run today in gui mode:

aleksandr@ws:~> gnomesu “yast2 --gtk sw_single”

(gnomesu:610): Gtk-WARNING **: 19:26:00.385: gtk_window_set_titlebar() called on a realized window
aleksandr@ws:~>

And it outputs nothing.


It works good in terminal with ncurses interface:

aleksandr@ws:~> sudo yast2

What can be a problem?

@SachaD Hi and welcome to the Forum :smile:
What about /usr/bin/xdg-su -c /sbin/yast2

1 Like

Thank you! Now It works!

aleksandr@ws:~> /usr/bin/xdg-su -c /sbin/yast2

(gnomesu:4954): Gtk-WARNING **: 00:59:30.544: gtk_window_set_titlebar() called on a realized window
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: None of the authentication protocols specified are supported

Why default way stopped working and I need switch to /usr/bin/xdg-su from gnomesu? NVidia drivers?

@SachaD copy the desktop file (as your user) to your local directory so can have a menu entry;

cp /usr/share/applications/org.opensuse.YaST.desktop  ~/.local/share/applications/org.opensuse.YaST.desktop
1 Like

I Copied it.

@SachaD So in the menu now, you should have a YaST icon and can access YaST after the password is entered?
Screenshot from 2024-03-12 12-53-13

Yes, thank you!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.