Lost plasma5 desktop

I filed a KDE bug about the widgets always crashing. They advised me to upgrade Qt to version 5.4.

But after doing this, none of the KDE options in the start menu will work. I get a message that it cannot start kmserver.
I tried reinstalling Plasma5, but it made no difference. Gnome works, but I hate it. How do I get my KDE desktops back again?

This is on a Lenovo X1 Carbon (2014) with 12.3.

There are many other alternatives included in openSUSE… :wink:

This is on a Lenovo X1 Carbon (2014) with 12.3.

Are you really using 12.3?
How did you install KF5/Plasma 5 in the first place then?
I am not aware of any packages for 12.3.

For getting the desktop back, try removing libKF5Style5 (if there are dependency conflicts, ignore them). This has to be compiled against Qt 5.4.0 to work with Qt5.4.0 (there has been an incompatible change in some private API AFAIK). A libKF5Style5 compiled against 5.3.x will make all Qt5 apps crash when you install QT 5.4.0.
Removing libKF5Style5 will make all apps use a built-in Qt5 style instead of breeze or oxygen, and not crash any more.

If you compiled Plasma5 yourself, I would suggest to completely recompile all of KF5, in particular libKF5Style5 as mentioned (i.e. frameworkintegration).

Oops. It is 13.2. I loaded Qt 5.4 from the build service, and reinstalled plasma5 from Yast2 software management.
I removed libKF5Style5, but I still get could not start kmserver. Where is it located?

Any other suggestions?

And where did you install Plasma 5 from?
The packages that are included in 13.2? Those are incompatible with Qt 5.4 as already explained. You should add the KDE:Frameworks5 repo and install all Plasma 5/KF5 related packages from there. You’d even get the latest stable versions then.

Please post your repo list.

zypper lr -d

I removed libKF5Style5, but I still get could not start kmserver. Where is it located?

In the package plasma5-workspace.
Can you run it manually or do you get an error? (inside GNOME or IceWM e.g.)

Thanks for your help.
kmserver does not seem to be anywhere on my system. I searched with kfind. It I try to run it, it cannot find it.

jarx1:~ # zypper lr -d

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

—±--------------------------±-----------------------------------±--------±--------±---------±-------±----------------------------------------------------------------------±-------
1 | KDE:Qt5 | KDE:Qt5 | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_13.2/ |
2 | openSUSE-13.2-0 | openSUSE-13.2-0 | Yes | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/usb-PIONEER_DVR-113NP_DEF10FB51449-0:0 |
3 | openSUSE:13.2 | openSUSE:13.2 | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.2/repo/oss/ |
4 | openSUSE:13.2:Update | openSUSE:13.2:Update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2/ |
5 | repo-debug | openSUSE-13.2-Debug | Yes | Yes | 99 | yast2 | http://download.opensuse.org/debug/distribution/13.2/repo/oss/ |
6 | repo-debug-update | openSUSE-13.2-Update-Debug | No | Yes | 99 | NONE | http://download.opensuse.org/debug/update/13.2/ |
7 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | No | Yes | 99 | NONE | http://download.opensuse.org/debug/update/13.2-non-oss/ |
8 | repo-non-oss | openSUSE-13.2-Non-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.2/repo/non-oss/ |
9 | repo-oss | openSUSE-13.2-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.2/repo/oss/ |
10 | repo-source | openSUSE-13.2-Source | Yes | Yes | 99 | yast2 | http://download.opensuse.org/source/distribution/13.2/repo/oss/ |
11 | repo-update | openSUSE-13.2-Update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2/ |
12 | repo-update-non-oss | openSUSE-13.2-Update-Non-Oss | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2-non-oss/ |
jarx1:~ #
Here is my plasma5 list:
http://i61.tinypic.com/160crys.png
and my Qt list:
http://i58.tinypic.com/a14go6.png

Again, it’s in the package plasma5-workspace and should be in /usr/bin. Maybe try to re-install that.

But, as the packages in 13.2 will not work with Qt 5.4.0 anyway, and I suppose you don’t want to downgrade Qt again, I suggest to do this:

sudo zypper ar -f http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_13.2 KDE:Frameworks5
sudo zypper dup --from KDE:Frameworks5

This will reinstall all your KF5/Plasma5 packages from KDE:Frameworks5, which is built against Qt 5.4.0.

So this should fix your problem.

A side-note: you probably wouldn’t need all those 32bit Qt5 packages you have installed… :wink:

Btw, I maintain a repo with Plasma5 packages that are co-installable with KDE4 if you’re interested. That repo also contains many (not-yet released) KF5 applications…

Thank you a bunch. That worked.

Is there an easy way to remove all the Qt 32-bit and debug stuff?

Figured it out. zypper takes wildcards :slight_smile:

And YaST has a search function as you probably know judging from your screen shots, it accepts wildcards and regular expressions as well.

You can perform an action (like “Remove”) on all packages in the list by right clicking on the list and choosing “All in this list”->…, the same is available in the “Package” menu. :wink: