KDE fail to load

openSUSE 12.1
KDE 4.8 just downgraded to kde 4.7.4 r5
KDE is not loaded, even in safe mode. After login display becomes black and switches two times between different resolutions (1280 that was on login to 1024*727 that is configured in KDE) and returns to login. This happened after downgrade from KDE 4.8 to KDE 4.7 using Yast2.

yast and yast2 can be started but do not work as well as zypper

Any help will be much appreciated.

The easiest way I found to mass downgrade packages is to use qt4 yast. I am not sure exactly how to do so with zypper yet. I remove the repository in question and then view all packages under yast, and then I sort them to show all the red packages (local ones without repositories I assume, or ones out of date versions). Then I would mark all of the KDE ones as update/upgrade and it should sort them all out mostly with the solve dialogs.

Also note this might be a configuration problem. Have you tried seeing if KDE works from a fresh empty user account?

No, but the root also fails the same way. How can I create a new user from the terminal?

I am not sure of the upsides and downsides of using root to login but if it fails the exact same way it might be a package conflict then. Though if you still want to try a fresh normal user you can use the ncurses version of yast2 to create a new user. Login as root (to tty) and then run:

yast2 --ncurses
yast2 --ncurses

gives error while creating client module users and starts only yast menu but all options are not working. I also tried

useradd

but user created failed to login as if pass was incorrect.

Try:

passwd username

Thanks that helped to set a password and I was able to login with new user but KDE behaves the same way. If I run apper it says

~> apperQDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
~> Could not open library klauncher: Cannot load library /usr/lib/libkdeinit4_klauncher.so: (libxml2.so.2: cannot open shared object file: No such file or directory)
klauncher: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
kdeinit4: Communication error with launcher. Exiting!

Try installing libxml2 either from yast or zypper. I do not have any from the kde 4.8 repo, so it is using the version in 12.1.

Edit: You might also try running the following to verify dependencies are ok:

zypper ve

On 08/04/12 21:56, rafisv pecked at the keyboard and wrote:
> Thanks that helped to set a password and I was able to login with new
> user but KDE behaves the same way. If I run apper it says
>
The solution is to delete the apper package as it does not play nice
with the package system. It constantly interferes with zypper and the
YaSY package manager.

zypper, yast and yast2 report error like:

zypper ve
zypper: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

Only thing I can think of is manually downloading libxml2 and installing with rpm, which might also fail in the same way. A reinstall might be the shortest path to success.

It’s already installed

rpm -Uvh libxml2-2.7.8+git20110708-3.8.1.i586.rpm
Preparing...                ########################################### [100%]
        package libxml2-2.7.8+git20110708-3.8.1.i586 is already installed
rpm -Uvh --force libxml2-2.7.8+git20110708-3.8.1.i586.rpm

fixed everything. Thanks a lot.