Page 1 of 1

[SOLVED] Could not start ksmserver

PostPosted: Apr 30th, '13, 20:30
by lewisforlife
I have Mageia 2. I rebooted my computer today, and when I logged in to KDE I got this message:

Code: Select all
could not start ksmserver check your installation


After the message I am taken back to the login. I tried moving "~/.kde4" to "~/.kd4-old", and am still getting the same issue. I noticed that some files/directories in my home folder were owned by root instead of my user, so I chowned them all to my user. That did not fix the issue. Do you have any idea would the problem could be and how to fix it?

Thanks.

Re: Could not start ksmserver

PostPosted: May 1st, '13, 05:13
by oj
Sometimes I have to remove one or more of other configs to get back in. Try deleting .Xauthority, .xinitrc, .kderc and maybe even .ICEauthority. Moving the .config folder has helped me a few times as well.

Re: Could not start ksmserver

PostPosted: May 1st, '13, 18:41
by lewisforlife
I tried your suggestions but the problem isn't fixed. Does anyone have else have suggestions, or should I try removing KDE and re-installing, what is the best way to do that without breaking my system?

Re: Could not start ksmserver

PostPosted: May 1st, '13, 19:14
by oj
You should try making a new user and logging into that before you start uninstalling/reinstalling lots of stuff.

Re: Could not start ksmserver

PostPosted: May 1st, '13, 20:31
by lewisforlife
oj wrote:You should try making a new user and logging into that before you start uninstalling/reinstalling lots of stuff.


I forgot to say that I already tried creating a new user and logging in, same message.

I just tried uninstalling and reinstalling kde, here is how I did it.

Code: Select all
urpme kdebase4-common
urpmi task-kde4


After the above, I am still having the same issue. Is there anything else that I can try, I really don't want to reload Mageia.

Re: Could not start ksmserver

PostPosted: May 1st, '13, 21:25
by sander85
Check your ~/.xsession-errors file. Maybe it has better info why it's failing.

Re: Could not start ksmserver

PostPosted: May 2nd, '13, 16:20
by lewisforlife
Not much that looks strange, but these two lines:

Code: Select all
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory

(notification-daemon:3893): GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion `dest_width > 0' failed


Interestingly enough, I tired to run "kate" from LXDE, and it crashes, this is what showed up in .xsession-errors. I am guessing this is related to my KDE issues:

Code: Select all
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Cannot mix incompatible Qt library (version 0x40804) with this library (version 0x40801)
KCrash: Application 'kate' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit


What can I do to fix this QT issue? Maybe that will solve my problem.

I checked my version of QT:

Code: Select all
$ rpm -qa | grep lib64qt
lib64qtnetwork4-4.8.4-1.1.mga2
lib64qthelp4-4.8.4-1.1.mga2
lib64qt4-devel-4.8.4-1.1.mga2
lib64qtdbus4-4.8.1-2.mga2
lib64qt3support4-4.8.1-2.mga2
lib64qtsvg4-4.8.4-1.1.mga2
lib64qtwebkit2.2_4-2.2.1-4.mga2
lib64qt3-3.3.8b-30.mga2
lib64qtxmlpatterns4-4.8.1-2.mga2
lib64qtdeclarative4-4.8.4-1.1.mga2
lib64qtclucene4-4.8.4-1.1.mga2
lib64qtxml4-4.8.1-2.mga2
lib64qtscript4-4.8.4-1.1.mga2
lib64qtmultimedia4-4.8.4-1.1.mga2
lib64qtsensors1-1.2.0-5.mga2
lib64qtgui4-4.8.1-2.mga2
lib64qttest4-4.8.4-1.1.mga2
lib64qtscripttools4-4.8.4-1.1.mga2
lib64qtopengl4-4.8.4-1.1.mga2
lib64qtlocation1-1.2.0-5.mga2
lib64qtdesigner4-4.8.4-1.1.mga2
lib64qtsql4-4.8.4-1.1.mga2
lib64qtcore4-4.8.1-2.mga2


As you can see, some are 4-4.8.4 and some are 4-4.8.1 What should I run to fix this?

Re: Could not start ksmserver

PostPosted: May 2nd, '13, 16:51
by lewisforlife
Looks like there is a bug report here: https://bugs.mageia.org/show_bug.cgi?id=7233

How can I downgrade the QT components that were some how misteriously updated?

Re: Could not start ksmserver

PostPosted: May 2nd, '13, 19:40
by doktor5000
lewisforlife wrote:Looks like there is a bug report here: https://bugs.mageia.org/show_bug.cgi?id=7233

That bug report is no real bug, it was caused by the user himself by only doing partial updates.

Please show the output of
Code: Select all
urpmq --list-media active
and
Code: Select all
urpmi --auto-update --test

Re: Could not start ksmserver

PostPosted: May 2nd, '13, 20:23
by lewisforlife
I just did a system update, and KDE is working now. I guess maybe I did (inadvertently) what the user did in the bug report above, and updated some components of QT without updating the others. Thanks.

Re: Could not start ksmserver

PostPosted: May 2nd, '13, 20:31
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks