Bug 373598 - Plasma 5.8.4 doesn't start (with log): black screen with cursor
Summary: Plasma 5.8.4 doesn't start (with log): black screen with cursor
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.8.4
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-13 01:59 UTC by Dan
Modified: 2016-12-13 06:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan 2016-12-13 01:59:49 UTC
I compiled and installed KDE 5 from scratch succesfuly, but after the SDDM login, there's only a black screen with a cursor.

If I start xterm from the console, it appears, so I'm afraid the problem is with Plasma. What's interesting is that I can start fine KDE 4 from the SDDM (only KDE 5 shows this problem, so my conclusion is that the X and graphics setup is fine):

Here's the log:

Failed to connect to bus: No such file or directory
startkde: Starting up...
kdeinit5: preparing to launch '/usr/local/kde5/lib/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 799, result = 0
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit5: opened connection to :0.0
kdeinit5: preparing to launch 'libkdeinit5_kded5'
kdeinit5: Launched KDED, pid = 803 result = 0
kdeinit5: preparing to launch 'libkdeinit5_kcminit_startup'
kdeinit5: Launched 'kcminit_startup', pid = 805 result = 0
Initializing  "kcm_input" :  "kcminit_mouse"
kdeinit5: Got SETENV 'KDE_MULTIHEAD=false' from launcher.
Initializing  "kcm_style" :  "kcminit_style"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/solidautoeject.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/freespacenotifier.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/bluedevil.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/ksysguard.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/baloosearchmodule.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/proxyscout.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/remotedirnotify.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/desktopnotifier.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/ktimezoned.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/device_automounter.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/keyboard.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/statusnotifierwatcher.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/soliduiserver.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/kscreen.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/local/kde5/lib/plugins/kf5/kded/networkstatus.so"
kdeinit5: Got SETENV 'GTK_RC_FILES=/etc/gtk/gtkrc:/home/fraga/.gtkrc:/home/fraga/.config/gtkrc' from launcher.
kdeinit5: Got SETENV 'GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/fraga/.gtkrc-2.0:/home/fraga/.config/gtkrc-2.0' from launcher.
kdeinit5: Got EXEC_NEW '/usr/local/kde5/lib/libexec/kf5/kconf_update' from launcher.
kdeinit5: preparing to launch '/usr/local/kde5/lib/libexec/kf5/kconf_update'
Initializing  "kded_touchpad" :  "kcminit_touchpad"
Initializing  "kcm_access" :  "kcminit_access"
kdeinit5: PID 816 terminated.
kdeinit5: Got EXEC_NEW '/usr/local/kde/bin/kaccess' from launcher.
kdeinit5: preparing to launch '/usr/local/kde/bin/kaccess'
kdeinit5: PID 805 terminated.
Cannot find 'org.kde.KSplash.setStage' in object /KSplash at org.kde.KSplash
kdeinit5: Got KWRAPPER '/usr/local/kde5/bin/ksmserver' from wrapper.
kdeinit5: preparing to launch '/usr/local/kde5/bin/ksmserver'
kf5.kcoreaddons.kaboutdata: Could not initialize the equivalent properties of Q*Application: no instance (yet) existing.
kdeinit5: PID 817 terminated.
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
detected kglobalaccel restarting, re-registering all shortcut keys
kscreen.kded: Config KScreen::Config(0x889f50) is ready
kscreen.kded: UPower not available, lid detection won't work
kscreen.kded: "The name org.freedesktop.UDisks2 was not provided by any .service files"
kscreen.kded: PowerDevil SuspendSession action not available!
kscreen.kded: "The name org.kde.Solid.PowerManagement was not provided by any .service files"
kscreen.kded: Couldn't get if the device is a laptop:  "The name org.freedesktop.UPower was not provided by any .service files"
Qt: Session management error: networkIdsList argument is NULL
Configuring Lock Action
_IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created.
ksmserver: "/run/user/501/KSMserver"
kdeinit5: Got SETENV 'SESSION_MANAGER=local/tux.abusar.org.br:@/tmp/.ICE-unix/829,unix/tux.abusar.org.br:/tmp/.ICE-unix/829' from launcher.
ksmserver: KSMServer: SetAProc_loc: conn  0 , prot= local , file= @/tmp/.ICE-unix/829
ksmserver: KSMServer: SetAProc_loc: conn  1 , prot= unix , file= /tmp/.ICE-unix/829
ksmserver: KSMServer::restoreSession  "saved at previous logout"
ksmserver: Autostart 0 done
ksmserver: Kcminit phase 1 done
ksmserver: Autostart 1 done
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
BluezQt: Cannot open /dev/rfkill for reading!
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "mtp"
bluedevil: Created
realPath called with a relative path 'etc/xdg/./', please fix
realPath called with a relative path 'etc/xdg/config/', please fix
No such schema “org.gnome.desktop.a11y.applications”
Trying to convert empty KLocalizedString to QString.
Trying to convert empty KLocalizedString to QString.
Trying to convert empty KLocalizedString to QString.
org.kde.kcm_keyboard: Failed to open layout memory xml file for reading "/home/fraga/.local/share/kded5/keyboard/session/layout_memory.xml" error: 5
kf5.kded: found kded module "touchpad" by prepending 'kded_' to the library path, please fix your metadata.
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
bluedevil: Bluetooth operational changed false
bluedevil: ObexManager operational changed false
BluezQt: PendingCall Error: "Launch helper exited with unknown return code 1"
BluezQt: PendingCall Error: "Process org.bluez.obex exited with status 1"
ksmserver: Starting notification thread
ksmserver: Kcminit phase 2 done
ksmserver: Starting autostart service  "/home/fraga/.config/autostart/IRkick.desktop"
ksmserver: Starting autostart service  "/home/fraga/.config/autostart/KNut client.desktop"
ksmserver: Starting autostart service  "/home/fraga/.config/autostart/wakoopa.desktop"
ksmserver: Starting autostart service  "/etc/xdg/autostart/wicd-tray.desktop"
ksmserver: Autostart 2 done
kwin_xkbcommon: XKB: couldn't find a Compose file for locale "en_US.UTF-8"

ksmserver: autostart service "/usr/bin/wicd-gtk" finished with exit code  1
kdeinit5: Got SETENV 'KDE_MULTIHEAD=false' from launcher.
Initializing  "kcm_input" :  "kcminit_mouse"
completeShutdownOrCheckpoint called
OpenGL vendor string:                   Intel Open Source Technology Center
OpenGL renderer string:                 Mesa DRI Intel(R) Haswell Mobile 
OpenGL version string:                  3.0 Mesa 13.0.2 (git-3a9f628)
OpenGL shading language version string: 1.30
Driver:                                 Intel
GPU class:                              Haswell
OpenGL version:                         3.0
GLSL version:                           1.30
Mesa version:                           13.0.2
X server version:                       1.19
Linux kernel version:                   4.8.13
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
kdeinit5: Got SETENV 'KDE_MULTIHEAD=false' from launcher.
Initializing  "kcm_input" :  "kcminit_mouse"
QXcbConnection: XCB error: 3 (BadWindow), sequence: 3755, resource id: 16777224, major code: 18 (ChangeProperty), minor code: 0

*********************

And here everything I installed (maybe I missed something?):

Frameworks (5.28.0):

extra-cmake-modules
phonon
attica
kitemmodels
kitemviews
kplotting
threadweaver
kcodecs
kguiaddons
kidletime
kwidgetsaddons
sonnet
kconfig
kwindowsystem
solid
kcoreaddons
kcrash
kdbusaddons
ki18n
kservice
kglobalaccel
karchive
kdoctools
bluez-qt
kjs
kimageformats
kauth
kjobwidgets
kcompletion
kdnssd
kconfigwidgets
kiconthemes
knotifications
kwallet
kpty
kemoticons
kdesu
ktextwidgets
kxmlgui
kbookmarks
kio
kdesignerplugin
knewstuff
kparts
kpackage
kdeclarative
kcmutils
kinit
kded
knotifyconfig
kunitconversion
kjsembed
kross
kmediaplayer
ktexteditor
kapidox
frameworkintegration
kdelibs4support
kactivities
kactivities-stats
kwayland
plasma-framework
oxygen-icons5
kxmlrpcclient
kpeople
krunner
kfilemetadata
baloo
breeze-icons

*****************
Plasma (5.8.4):

libksysguard
ksysguard
kdecoration
kscreenlocker
breeze
kwayland-integration
kwin
plasma-workspace
plasma-desktop
plasma-integration
oxygen
bluedevil
kwallet-pam
libkscreen
kscreen
powerdevil
sddm-kcm
systemsettings
discover

***

Any hints? Thanks!
Comment 1 Dan 2016-12-13 06:46:10 UTC
I made some progress. There're a few environment variables which affect this issue:

QT_PLUGIN_PATH
XDG_DATA_DIRS (With this one I can see the spinning wheel with the KDE logo)
QT_QPA_PLATFORM_PLUGIN_PATH
QML_IMPORT_PATH
QML2_IMPORT_PATH

and one of the last ones made plasmashell stop complaining about missing shell modules. Now I see the KDE logo, then is disappears and the screen stays black.
Comment 2 Kai Uwe Broulik 2016-12-13 06:57:32 UTC
This isn't really the right place to provide this kind of support but perhaps this wiki page might help you: https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source#Set_up_a_script_for_preparing_the_environment

If you still have issues feel free to ping us in #plasma on Freenode IRC or visit the KDE forums.