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?
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”