YaST GUI doesnt work on sway

Hello all.

As title says when i try to launch yast from wofi it asks for password then crashes… When opened with “sudo -E yast2” gtk warning appears and gui still wont show. The command “xhost +SI:localuser:root” is temporary solution… Anyone know what causes this and how to fix it permanently ?

Gparted also run on X11 (that is my understanding) but when launched via terminal first output line is “localuser:root being added to acces control list” which seems like the starting gparted script uses exactly the same xhost command as the temporary solution and when closed this entry is removed. Why this doesnt work for yast2 as well?

Explain what wofi (whatever it is) does and how exactly it invokes YaST.

You forgot to show this warning.

wofi is launcher for wayland based compositors. It is in default instalation of OpenSUSEway pattern. But the problem isnt the launcher but compatability of sway with X11 apps or vice versa yast on wayland based compositors (Since gparted is X11 program but is working on sway).

The GTK error reads following “(ruby.ruby2.7:20869): Gtk-WARNING **: 15:14:45.312: cannot open display: :1”

I am pretty sure it is not the whole output. Always copy-paste the complete command line, the full output and the subsequent shell prompt.

Show

env | grep -E 'DISPLAY|XAUTH'

@targoth Also, what YaST module are you wanting to use?

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