This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can not start ksmserver | can't login anymore

Tags: None
(comma "," separated)
nfrandeboeuf
Registered Member
Posts
9
Karma
0
OS
Hi,

since I upgraded my desktop, using kubuntu, to plasma5, I can't log in anymore. Once I entered my login/password, the loading screen is displayed (but the progress bar seems to be stuck) then an error message appears reading "Can not start ksmserver".

I tried renaming my .kde, .config, .local, .cache folders but that did not fix it.

What I did :
Code: Select all
sudo apt-add-repository ppa:kubuntu-ppa/next
sudo apt-add-repository ppa:kubuntu-ppa/next-backports
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install plasma-desktop plasma-workspace plasma-workspace-wallpapers
sudo apt-get dist-upgrade


Here is my .xession-errors content :

Code: Select all
Script for none started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
Script for none started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
startkde: Starting up...
kdeinit5: preparing to launch 'libkdeinit5_klauncher'
kdeinit5: Launched KLauncher, pid = 2741, result = 0
Qt: Session management error: networkIdsList argument is NULL
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit5: opened connection to :0
kf5.kiconthemes: "Theme tree: (Brise)"
kdeinit5: preparing to launch 'libkdeinit5_kded5'
kdeinit5: Launched KDED, pid = 2743 result = 0
kdeinit5: preparing to launch 'libkdeinit5_kcminit_startup'
kdeinit5: (kcminit_startup /usr/bin/kcminit_startup) Pipe closed unexpectedlykdeinit5: Pipe closed unexpectedly: Aucun fichier ou dossier de ce type
kdeinit5: Launched 'kcminit_startup', pid = 2744 result = 1
kdeinit5: PID 2744 terminated.
kdeinit5: Got KWRAPPER 'ksmserver' from wrapper.
kdeinit5: preparing to launch 'libkdeinit5_ksmserver'
Qt: Session management error: networkIdsList argument is NULL
kdeinit5: (ksmserver /usr/bin/ksmserver) Pipe closed unexpectedlykdeinit5: Pipe closed unexpectedly: Ressource temporairement non disponible
KInit could not launch 'ksmserver'.
kdeinit5: PID 2748 terminated.
kdeinit5: Got EXT_EXEC '/usr/bin/kbuildsycoca5' from launcher.
kdeinit5: preparing to launch '/usr/bin/kbuildsycoca5'
startkde: Could not start ksmserver. Check your installation.
kf5.kinit.klauncher: "/usr/bin/kbuildsycoca5" (pid 2751) up and running.
kbuildsycoca5 running...
kf5.kservice.sycoca: Trying to open ksycoca from "/home/nicofrand/.cache/ksycoca5"
checking file timestamps
timestamps check ok
Emitting notifyDatabaseChanged ()
kdeinit5: PID 2751 terminated.
kf5.kservice.sycoca: Trying to open ksycoca from "/home/nicofrand/.cache/ksycoca5"
kf5.kded: kded module "networkwatcher" still uses .desktop files ("kded/networkwatcher.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "keyboard" still uses .desktop files ("kded/keyboard.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "networkstatus" still uses .desktop files ("kded/networkstatus.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "ksysguard" still uses .desktop files ("kded/ksysguard.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "soliduiserver" still uses .desktop files ("kded/soliduiserver.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "touchpad" still uses .desktop files ("kded/touchpad.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "recentdocumentsnotifier" still uses .desktop files ("kded/recentdocumentsnotifier.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "appmenu" still uses .desktop files ("kded/appmenu.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "networkmanagement" still uses .desktop files ("kded/networkmanagement.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "platformstatus" still uses .desktop files ("kded/platformstatus.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "obexftpdaemon" still uses .desktop files ("kded/obexftpdaemon.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "powerdevil" still uses .desktop files ("kded/powerdevil.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "desktopnotifier" still uses .desktop files ("kded/desktopnotifier.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "ktouchpadenabler" still uses .desktop files ("kded/ktouchpadenabler.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "khotkeys" still uses .desktop files ("kded/khotkeys.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "statusnotifierwatcher" still uses .desktop files ("kded/statusnotifierwatcher.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "remotedirnotify" still uses .desktop files ("kded/remotedirnotify.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "solidautoeject" still uses .desktop files ("kded/solidautoeject.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "bluedevil" still uses .desktop files ("kded/bluedevil.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "kscreen" still uses .desktop files ("kded/kscreen.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "ktimezoned" still uses .desktop files ("kded/ktimezoned.desktop"). Please port it to JSON metadata.
kf5.kded: kded module "freespacenotifier" still uses .desktop files ("kded/freespacenotifier.desktop"). Please port it to JSON metadata.
kf5.kded: found kded module "ksysguard" by prepending 'kded_' to the library path, please fix your metadata.
kf5.kded: Successfully loaded module "ksysguard"
kf5.kded: Could not load kded module "networkmanagement":"The shared library was not found." (library path was:"networkmanagement")
kf5.kded: found kded module "powerdevil" by prepending 'kded_' to the library path, please fix your metadata.
kf5.kded: Successfully loaded module "powerdevil"
kf5.kded: found kded module "ktouchpadenabler" by prepending 'kded_' to the library path, please fix your metadata.
Did not find a touchpad. If you have one, please report a bug against ktouchpadenabler in http://bugs.kde.org
kf5.kded: Successfully loaded module "ktouchpadenabler"
kf5.kded: found kded module "statusnotifierwatcher" by prepending 'kded_' to the library path, please fix your metadata.
kf5.kded: Successfully loaded module "statusnotifierwatcher"
kf5.kded: found kded module "bluedevil" by prepending 'kded_' to the library path, please fix your metadata.
kf5.kded: Successfully loaded module "bluedevil"
kf5.kded: found kded module "kscreen" by prepending 'kded_' to the library path, please fix your metadata.
kf5.kded: Successfully loaded module "kscreen"
kf5.kservice.sycoca: Trying to open ksycoca from "/home/nicofrand/.cache/ksycoca5"
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/libexec/kf5/kconf_update' from launcher.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/kconf_update'
kf5.kinit.klauncher: "/usr/lib/x86_64-linux-gnu/libexec/kf5/kconf_update" (pid 2752) up and running.
kdeinit5: PID 2752 terminated.
kf5.kiconthemes: "Theme tree: (Brise)"
powerdevil: Loading UPower backend...
powerdevil: Success!
powerdevil: Backend loaded, loading core
powerdevil: Core loaded, initializing backend
powerdevil: Falling back to helper to get brightness
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.8'
detected kglobalaccel restarting, re-registering all shortcut keys
powerdevil: org.kde.powerdevil.backlighthelper.brightnessvaluemax failed
powerdevil: current screen brightness value:  0
powerdevil: Backend is ready, KDE Power Management system initialized
XSync seems available and ready
XSync Inited
Supported, init completed
powerdevil: Session path: "/org/freedesktop/login1/session/c5"
powerdevil: ACTIVE SESSION PATH: "/org/freedesktop/login1/session/c5"
powerdevil: Current session is now active
powerdevil: fd passing available: true
powerdevil: systemd powersave events handling inhibited, descriptor: 25
powerdevil: systemd support initialized
powerdevil: The session is not registered with ck
powerdevil: Got a valid offer for  "DPMSControl"
startkde: Shutting down...
kdeinit5: terminate KDE.
klauncher: Exiting on signal 1
powerdevil: Core is ready, registering various services on the bus...
powerdevil: Can't contact ck
powerdevil: We are now into activity  "default"
powerdevil: () ()
powerdevil: () ()
powerdevil: No batteries found, loading AC
powerdevil: Activity is not forcing a profile
powerdevil: The profile  "AC" tried to activate "HandleButtonEvents" a non-existent action. This is usually due to an installation problem, or to a configuration problem, or simply the action is not supported
Created alarm 18874369
Created alarm 18874373
powerdevil:
powerdevil: Loading timeouts with  300000
Created alarm 18874374
Created alarm 18874375
Created alarm 18874376
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
startkde: Running shutdown scripts...
startkde: Done.


Please ask if you need more information, I am really stuck here :'(
User avatar
Rog131
Registered Member
Posts
828
Karma
10
Explained at https://www.kubuntuforums.net/showthrea ... asma-5-2-1

By a Kubuntu developer - https://www.kubuntuforums.net/showthrea ... post367743

Quintasan:

So I'd like to apologize for this mess - this has been caused mostly by poor handling and/or testing on our side.

Along with sgclark we managed to determine that this is caused by Plasma 4 packages getting mixed with Plasma 5 packages, resulting in magical spagetthi of broken dependencies...
nfrandeboeuf
Registered Member
Posts
9
Karma
0
OS
Well, thanks ! I wouldn't have found the topics you linked by my own ( I did not see the unmet dependencies error, so I wouldn't have thought it was linked).

So, I guess I will use LXDE while they fix this. I am reassured that the issue is not really my fault :).
Kubuntu_Usr
Registered Member
Posts
4
Karma
0
OS
Hi,
The last batch of updates from the Kubuntu next/ next -backports broke my desktop.
Was using sddm for login, then got message that ksmserver would not start.
Went to a terminal, logged in and tried to start x. Complained no screens found.
Tried to reconfigure for getting back xserver but no luck.
There is a permissions issue for the login that was broken with the updates.
One complaint at startup is that systemd logind cant access user@1000.
Since the Plasma 5 Desktop is so new, and now with upstart and systemd in play, I need some info on how to clean up or reconnect my user account to log in.

Otherwise, the new Plasma Desktop is very nice, and Fast!


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]