YaST won't run in gui
Hello. I installed OpenSuSe Thumbleweed with GNOME. I did something yesterday and YaST2 wont run today in gui mode:
Code:
aleksandr@ws:~> gnomesu "yast2 --gtk sw_single" It works good in terminal with ncurses interface: Code:
aleksandr@ws:~> sudo yast2 |
Different problem here in TW 20240309 in Plasma session. 'sudo yast2 --qt sw_single' or 'sudo yast2 sw_single' opens ncurses instead of GUI YaST2. If instead logged in as root, then 'yast2 sw_single' opens QT GUI instead of ncurses.
|
/usr/bin/xdg-su -c /sbin/yast2
|
su and sudo does not handle DISPLAY very well. That's why yast started in ncurses mode.
see for example here: https://askubuntu.com/questions/2700...l-applications The common solution is to run GUI as user and use a graphical sudo clone, like gnomesu, which can manage it. Just actually gnomesu is almost abandoned. xdg-su looks also unmaintained. gksu is deprecated too. It looks like this is the more or less official answer: https://www.suse.com/support/kb/doc/?id=000020963 |
All times are GMT -5. The time now is 08:15 PM. |