I just updated my openSUSE 13.2 to Leap 42.1 using zypper dup. Now when I call “yast2 sw_single” I get the message “Qt GUI wanted but not found, falling back to ncurses” and yast opens with the ncurses “GUI”. I’m using xfce and I have yast2-control-center, yast2-control-center-gnome and yast2-control-center-qt installed. What am I missing?
How are you becoming root? need to use kdesu maybe??
This happens when I log in as root. Not being logged in as root brings a message that I have to be logged on as root in order to call yast.
Login at the GUI interface as an ordinary user. Then open a terminal session (konsole, xterm, or similar).
In that terminal, use the command:
su -
You will then be logged in as root in that terminal. And GUI commands (such as yast) should work.
When finished, type the command “exit” to leave the “su” session.
I had the same strange issue when I updated from 13.2 to 42.1 (both Plasma5) and I had to install
patterns-openSUSE-kde_yast
patterns-openSUSE-x11_yast
to get a YAST-GUI.
Thanks, swannema, that was exactly the answer I needed!
Never log into a GUI as root you can damage things inadvertently
Be sure all repos are on the right version
That’s usually very good advice, gogalthorp, but having been a software developer for 40 years I (like to think I) know what I’m doing
Well… Yes but I guess you know then that GUIs can touch lots of files and change the ownership if run as root. this can cause problems for users logging in. This can happen even just browsing a users directory when root. But then you just have to reset the files that got ownership changed to the proper owner. But new users tend to get lost at that point. I have not found a need to log into a GUI’s as root in since shortly after I started in Linux about 10 years back. I did tend to log to root then and kept messing the user log in.
The main reason of saying this is to let others that may not have the experience not believe it is good practice.
You’re absolutely right, gogalthorp, it definitely is not good practice to log in as root. I only do it when I (think I) absolutely have to, and I always make a full back-up of my system beforehand, so I can go back if I screw things up.