Announcement

Collapse
No announcement yet.

SDDM initiated Plasma session crashes durring initialization

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    SDDM initiated Plasma session crashes durring initialization

    Hi,

    I recently upgraded from Vivid to Wily and after the upgrade I'm unable to login to Plasma (KDE) from the desktop manager (SDDM). I was able to stop sddm and the X server by editing /etc/X11/Xsession.options and commenting out the line which says "allow-failsafe". After they were stopped I launched X and startkde manually and it ran without a problem. After the fact I realized that when I launched it manually I ran it as root, but when I run it as a regular user it won't launch.

    Here is the output of startkde

    Code:
    libGL error: failed to open drm device: Permission denied
    libGL error: failed to load driver: i965
    Loading stage  "initial" 45
    startkde: Starting up...
    Unable to create /home/rritoch/.dbus/session-bus
    kdeinit5: preparing to launch 'libkdeinit5_klauncher'
    kdeinit5: Launched KLauncher, pid = 7188, result = 0
    Qt: Session management error: networkIdsList argument is NULL
    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 = 7190 result = 0
    kdeinit5: preparing to launch 'libkdeinit5_kcminit_startup'
    kdeinit5: Launched 'kcminit_startup', pid = 7191 result = 0
    Qt: Session management error: networkIdsList argument is NULL
    kdeinit5: Got SETENV 'KDE_MULTIHEAD=false' from launcher.
    Initializing  "kded_touchpad" :  "kcminit_touchpad"
    Initializing  "kcm_kgamma" :  "kcminit_kgamma"
    Initializing  "kcm_style" :  "kcminit_style"
    kf5.kded: found kded module "powerdevil" by prepending 'kded_' to the library path, please fix your metadata.
    kf5.kded: found kded module "kscreen" by prepending 'kded_' to the library path, please fix your metadata.
    kf5.kded: found kded module "statusnotifierwatcher" by prepending 'kded_' to the library path, please fix your metadata.
    kf5.kded: found kded module "networkmanagement" by prepending 'kded_' to the library path, please fix your metadata.
    kf5.kded: found kded module "ksysguard" by prepending 'kded_' to the library path, please fix your metadata.
    kf5.kded: found kded module "printmanager" by prepending 'kded_' to the library path, please fix your metadata.
    kf5.kded: found kded module "accounts" by prepending 'kded_' to the library path, please fix your metadata.
    Loaded KAccounts plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kaccounts/daemonplugins/kaccounts_ktp_plugin.so"
    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'
    kdeinit5: PID 7212 terminated.
    powerdevil: Loading UPower backend...
    powerdevil: Success!
    powerdevil: Backend loaded, loading core
    powerdevil: Core loaded, initializing backend
    powerdevil: No outputs have backlight property
    powerdevil: Falling back to helper to get brightness
    Qt: Session management error: networkIdsList argument is NULL
    kdeinit5: Got SETENV 'GTK_RC_FILES=/etc/gtk/gtkrc:/home/rritoch/.gtkrc:/home/rritoch/.config/gtkrc' from launcher.
    kdeinit5: Got SETENV 'GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/rritoch/.gtkrc-2.0:/home/rritoch/.config/gtkrc-2.0' from launcher.
    Qt: Session management error: networkIdsList argument is NULL
    QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.11'
    Setting the name:  "org.kde.ActivityManager.Resources.Scoring"
    Creating directory:  "/home/rritoch/.local/share/kactivitymanagerd/resources/"
    pm.kded: unable to register service to dbus
    KActivities: Database connection:  "kactivities_db_resources_139711421536256_readwrite"
        query_only:          QVariant(qlonglong, 0)
        journal_mode:        QVariant(QString, "wal")
        wal_autocheckpoint:  QVariant(qlonglong, 100)
        synchronous:         QVariant(qlonglong, 1)
    Setting the name:  "org.kde.ActivityManager.ActivityTemplates"
    Service started, version: 6.2.0
    detected kglobalaccel restarting, re-registering all shortcut keys
    BluezQt: GetManagerJob Error: "Rejected send message, 2 matched rules; type="method_call", sender=":1.139" (uid=1000 pid=7190 comm="kded5 [kdeinit5]                                  ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=5171 comm="/usr/lib/bluetooth/bluetoothd ")"
    bluedevil: Error initializing manager: "Rejected send message, 2 matched rules; type="method_call", sender=":1.139" (uid=1000 pid=7190 comm="kded5 [kdeinit5]                                  ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=5171 comm="/usr/lib/bluetooth/bluetoothd ")"
    kscreen: launcherDataAvailable: "org.kde.KScreen.Backend.XRandR"
    kscreen.kded: Config KScreen::Config(0x1c59070) is ready
    kscreen.kded: PowerDevil SuspendSession action not available!
    kscreen.kded: "The name org.kde.Solid.PowerManagement was not provided by any .service files"
    kscreen.kded: Applying config
    kscreen.kded: Calculating config ID for KScreen::Config(0x1c59070)
    kscreen.kded:   Part of the Id:  "aed0efcf6574a258755b1d0b77021aae"
    kscreen.kded:   Config ID: "60688e7912782f56e1b95c82d8620700"
    kscreen.kded: Calculating config ID for KScreen::Config(0x1c59070)
    kscreen.kded:   Part of the Id:  "aed0efcf6574a258755b1d0b77021aae"
    kscreen.kded:   Config ID: "60688e7912782f56e1b95c82d8620700"
    kscreen.kded: Applying known config "60688e7912782f56e1b95c82d8620700"
    kscreen: Primary output changed from KScreen::Output(Id: 69 , Name: "VGA1" ) ( "VGA1" ) to KScreen::Output(Id: 69 , Name: "VGA1" ) ( "VGA1" )
    kscreen.kded: Finding a mode for QSize(1366, 768) @ 59.7895
    kscreen.kded:   Found:  "72"   QSize(1366, 768) @ 59.7895
    kscreen: Primary output changed from KScreen::Output(Id: 69 , Name: "VGA1" ) ( "VGA1" ) to KScreen::Output(NULL) ( "none" )
    kscreen: Primary output changed from KScreen::Output(Id: 69 , Name: "VGA1" ) ( "VGA1" ) to KScreen::Output(Id: 69 , Name: "VGA1" ) ( "VGA1" )
    kscreen.kded: doApplyConfig()
    Starting accounts migration...
    Initializing  "kcm_input" :  "kcminit_mouse"
    kf5.kded: found kded module "ktp_integration_module" by prepending 'kded_' to the library path, please fix your metadata.
    kf5.kded: found kded module "ktp_approver" by prepending 'kded_' to the library path, please fix your metadata.
    ktp-common-internals: Current presence changed
    ktp-common-internals: Current presence changed
    XSync seems available and ready
    XSync Inited
    Supported, init completed
    Created alarm 16777217
    Created alarm 16777221
    Initializing  "kcm_access" :  "kcminit_access"
    kdeinit5: Got SETENV 'XCURSOR_THEME=Pulse-Glass' from launcher.
    kdeinit5: Got SETENV 'XCURSOR_SIZE=0' from launcher.
    kdeinit5: Got EXEC_NEW '/usr/bin/kaccess' from launcher.
    kdeinit5: preparing to launch '/usr/bin/kaccess'
    kdeinit5: PID 7191 terminated.
    kdeinit5: Got KWRAPPER 'ksmserver' from wrapper.
    kdeinit5: preparing to launch 'libkdeinit5_ksmserver'
    QCoreApplication::arguments: Please instantiate the QApplication object first
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    kscreen: Launcher finished with exit code 0 , status 1
    kscreen.kded: Config applied
    kscreen.kded: Monitor for changes:  true
    kscreen: Launcher finished with exit code 0 , status 1
    kdeinit5: PID 7253 terminated.
    kdeinit5: PID 7256 terminated.
    startkde: Shutting down...
    kdeinit5: terminate KDE.
    klauncher: Exiting on signal 1
    startkde: Running shutdown scripts...
    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*
    QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
    QThread: Destroyed while thread is still running
    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: Done.
    KCrash: Attempting to start /usr/bin/kdeinit5 from kdeinit
    Warning: connect() failed: : No such file or directory
    KCrash: Attempting to start /usr/bin/kdeinit5 directly
    KCrash: crashing... crashRecursionCounter = 2
    KCrash: Application Name = kdeinit5 path = /usr/bin pid = 7190
    KCrash: Arguments: /usr/bin/kdeinit5
    KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
    Warning: connect() failed: : No such file or directory
    KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi directly
    kdeinit5: preparing to launch 'libkdeinit5_klauncher'
    kdeinit5: Launched KLauncher, pid = 7282, result = 0
    kdeinit5: Communication error with launcher. Exiting!

    And here are some of the dmesg errors

    Code:
    [ 1209.699179] krunner[5182]: segfault at 18 ip 00007f6170c68e38 sp 00007ffe7944d110 error 4 in libqxcb.so[7f6170c1f000+b5000]
    [ 1210.114805] plasmashell[5189]: segfault at 18 ip 00007f517f220e38 sp 00007ffd4a0becb0 error 4 in libqxcb.so[7f517f1d7000+b5000]
    [ 1210.212570] kglobalaccel5[5193]: segfault at 18 ip 00007f202c9b9e38 sp 00007ffe42b04880 error 4 in libqxcb.so[7f202c970000+b5000]
    [ 1210.287066] kglobalaccel5[5196]: segfault at 18 ip 00007f53d6881e38 sp 00007fffe72c93c0 error 4 in libqxcb.so[7f53d6838000+b5000]
    [ 1210.294286] kglobalaccel5[5199]: segfault at 18 ip 00007f6af90c2e38 sp 00007ffe5c168f90 error 4 in libqxcb.so[7f6af9079000+b5000]
    [ 1210.301596] kglobalaccel5[5202]: segfault at 18 ip 00007f9918972e38 sp 00007ffd6c2e5270 error 4 in libqxcb.so[7f9918929000+b5000]
    [ 1211.342009] kwin_x11[5206]: segfault at 18 ip 00007f76d8f40e38 sp 00007ffc99d1de20 error 4 in libqxcb.so[7f76d8ef7000+b5000]
    [ 1235.292001] signon-ui[4670]: segfault at 20 ip 00007ff9efcaee3b sp 00007ffd73b71f78 error 4 in libqxcb.so[7ff9efc80000+b5000]
    [ 1347.767171] QXcbEventReader[5502]: segfault at 7f4dc2fd7a39 ip 00007f4dc2fd7a39 sp 00007f4dc0a88de0 error 14 in locale-archive[7f4dc3065000+2cd000]
    [ 1360.246275] kscreen_backend[5549]: segfault at 10 ip 00007fa87b53f8c0 sp 00007ffcbf183ff8 error 4 in KSC_XRandR.so[7fa87b52c000+20000]
    [ 1360.249616] kactivitymanage[5508]: segfault at 18 ip 00007fc356a5dee0 sp 00007ffec626d328 error 4 in libqxcb.so[7fc356a2f000+b5000]
    [ 1361.272271] krunner[5754]: segfault at 18 ip 00007fdb43f23e38 sp 00007fff13e2cbc0 error 4 in libqxcb.so[7fdb43eda000+b5000]
    [ 1361.274704] kwin_x11[5753]: segfault at 18 ip 00007f8f2413fe38 sp 00007ffdcb6f6660 error 4 in libqxcb.so[7f8f240f6000+b5000]
    [ 1362.066333] kded5[5762]: segfault at 18 ip 00007fe3df2d7e38 sp 00007ffc49bcf320 error 4 in libqxcb.so[7fe3df28e000+b5000]
    [ 1362.073713] kded5[5765]: segfault at 18 ip 00007f280e40be38 sp 00007ffc1fa74720 error 4 in libqxcb.so[7f280e3c2000+b5000]
    [ 1362.286451] klauncher[5767]: segfault at 18 ip 00007f26595ade38 sp 00007ffca1c09150 error 4 in libqxcb.so[7f2659564000+b5000]
    [ 1363.405464] plasmashell[5796]: segfault at 18 ip 00007fc7964a7e38 sp 00007ffcb5381a60 error 4 in libqxcb.so[7fc79645e000+b5000]
    [ 1364.019348] akonadi_akonote[5808]: segfault at 18 ip 00007f6a70d2be38 sp 00007ffd79a15590 error 4 in libqxcb.so[7f6a70ce2000+b5000]
    [ 1364.074329] akonadi_birthda[5812]: segfault at 18 ip 00007f70b8446e38 sp 00007ffc671f44e0 error 4 in libqxcb.so[7f70b83fd000+b5000]
    [ 1365.413232] show_signal_msg: 6 callbacks suppressed
    [ 1365.413237] akonadi_archive[5809]: segfault at 18 ip 00007f200117ae38 sp 00007fffa9b7c0f0 error 4 in libqxcb.so[7f2001131000+b5000]
    [ 1365.413247] akonadi_mailfil[5821]: segfault at 18 ip 00007fb9f8416e38 sp 00007ffec585d7c0 error 4
    [ 1365.413250]  in libqxcb.so[7fb9f83cd000+b5000]
    [ 1365.502603] akonadi_newmail[5825]: segfault at 18 ip 00007fea9d295e38 sp 00007ffdff2057a0 error 4 in libqxcb.so[7fea9d24c000+b5000]
    [ 1365.569629] akonadi_notes_a[5832]: segfault at 18 ip 00007f6632af3e38 sp 00007ffc151d1220 error 4 in libqxcb.so[7f6632aaa000+b5000]
    [ 1365.572197] akonadi_akonote[5835]: segfault at 18 ip 00007f7714b47e38 sp 00007ffc3c9d12e0 error 4 in libqxcb.so[7f7714afe000+b5000]
    [ 1365.587285] akonadi_birthda[5837]: segfault at 18 ip 00007f16b8f71e38 sp 00007ffdcec4e670 error 4 in libqxcb.so[7f16b8f28000+b5000]
    [ 1365.597516] akonadi_contact[5840]: segfault at 18 ip 00007fec79e2be38 sp 00007fff03d5f050 error 4 in libqxcb.so[7fec79de2000+b5000]
    [ 1365.600201] akonadi_archive[5836]: segfault at 18 ip 00007fcb7a869e38 sp 00007ffc2921a4a0 error 4 in libqxcb.so[7fcb7a820000+b5000]
    [ 1365.607203] akonadi_ical_re[5841]: segfault at 18 ip 00007f23aece7e38 sp 00007fffc9440fe0 error 4 in libqxcb.so[7f23aec9e000+b5000]
    [ 1365.619897] akonadi_sendlat[5834]: segfault at 18 ip 00007f49563dfe38 sp 00007ffd0b218a50 error 4 in libqxcb.so[7f4956396000+b5000]
    [ 1378.192099] show_signal_msg: 21 callbacks suppressed
    [ 1378.192102] signon-ui[5641]: segfault at 20 ip 00007f281d1e5e3b sp 00007ffd64536cb8 error 4 in libqxcb.so[7f281d1b7000+b5000]
    [ 1622.150391] drkonqi[6048]: segfault at 18 ip 00007f073512be38 sp 00007fffd31253f0 error 4 in libqxcb.so[7f07350e2000+b5000]
    [ 1659.781294] kdeconnectd[5477]: segfault at 18 ip 00007fc7c2f5be33 sp 00007ffd494e80f8 error 4 in libqxcb.so[7fc7c2f2d000+b5000]
    [ 1660.802156] kglobalaccel5[6075]: segfault at 18 ip 00007fe6e51c8e38 sp 00007ffc81678760 error 4 in libqxcb.so[7fe6e517f000+b5000]
    [ 1660.805507] drkonqi[6076]: segfault at 18 ip 00007f2422994e38 sp 00007fff8dfc4e70 error 4 in libqxcb.so[7f242294b000+b5000]
    [ 1660.806518] klauncher[6079]: segfault at 18 ip 00007f96f1c81e38 sp 00007ffe06fe8d40 error 4 in libqxcb.so[7f96f1c38000+b5000]
    [ 1748.539269] baloo_file_extr[6153]: segfault at 18 ip 00007fe1c39cde38 sp 00007ffe81b836e0 error 4 in libqxcb.so[7fe1c3984000+b5000]
    [ 2468.481796] ksplashqml[6740]: segfault at 18 ip 00007fe464101e38 sp 00007fff6c2dfea0 error 4 in libqxcb.so[7fe4640b8000+b5000]
    [ 2468.529994] klauncher[6764]: segfault at 18 ip 00007f5d3a0aee38 sp 00007ffdb20f1620 error 4 in libqxcb.so[7f5d3a065000+b5000]
    [ 2468.550196] ksmserver[6766]: segfault at 18 ip 00007fb920857e38 sp 00007ffe39c99880 error 4 in libqxcb.so[7fb92080e000+b5000]
    [ 2609.005066] ksplashqml[6972]: segfault at 18 ip 00007fc7244f2e38 sp 00007ffec9d13e50 error 4 in libqxcb.so[7fc7244a9000+b5000]
    [ 2609.071648] klauncher[6996]: segfault at 18 ip 00007f60a8a42e38 sp 00007ffc83247480 error 4 in libqxcb.so[7f60a89f9000+b5000]
    [ 2609.093508] ksmserver[6998]: segfault at 18 ip 00007fe87de14e38 sp 00007ffe9e2d5ea0 error 4 in libqxcb.so[7fe87ddcb000+b5000]
    [ 2632.353264] ksplashqml[7053]: segfault at 18 ip 00007fd5f1791e38 sp 00007ffc3504f700 error 4 in libqxcb.so[7fd5f1748000+b5000]
    [ 2632.400946] klauncher[7077]: segfault at 18 ip 00007f44889b4e38 sp 00007ffd0ff463a0 error 4 in libqxcb.so[7f448896b000+b5000]
    [ 2632.421261] ksmserver[7079]: segfault at 18 ip 00007fd8822e2e38 sp 00007ffc2f5fa0a0 error 4 in libqxcb.so[7fd882299000+b5000]
    [ 2673.452674] kscreen_backend[7240]: segfault at 10 ip 00007f162cc408c0 sp 00007ffd39c09518 error 4 in KSC_XRandR.so[7f162cc2d000+20000]
    [ 2673.454403] kactivitymanage[7228]: segfault at 18 ip 00007f110f519ee0 sp 00007ffedf58eef8 error 4 in libqxcb.so[7f110f4eb000+b5000]
    [ 2673.456689] signon-ui[7251]: segfault at 18 ip 00007f46baf50e38 sp 00007ffe7b620a10 error 4 in libqxcb.so[7f46baf07000+b5000]
    [ 2673.509613] ksplashqml[7152]: segfault at 8 ip 00007f26079740e0 sp 00007ffe3dad8708 error 4 in libQt5Gui.so.5.4.2[7f2607866000+51b000]
    [ 2673.514715] kaccess[7255]: segfault at 18 ip 00007f65e8b09e38 sp 00007fff6fb327f0 error 4 in libqxcb.so[7f65e8ac0000+b5000]
    [ 2673.515718] kscreen_backend[7258]: segfault at 18 ip 00007f8e1613fe38 sp 00007ffd273e5600 error 4 in libqxcb.so[7f8e160f6000+b5000]
    [ 2673.520678] ksmserver[7256]: segfault at 18 ip 00007f93da912e38 sp 00007ffee31b3b70 error 4 in libqxcb.so[7f93da8c9000+b5000]
    [ 2674.482894] kglobalaccel5[7275]: segfault at 18 ip 00007f2a6d67de38 sp 00007fff1b3ac290 error 4 in libqxcb.so[7f2a6d634000+b5000]
    [ 2674.561324] drkonqi[7279]: segfault at 18 ip 00007fec4ae41e38 sp 00007ffc0df87df0 error 4 in libqxcb.so[7fec4adf8000+b5000]
    [ 2674.564775] klauncher[7282]: segfault at 18 ip 00007fdf05cbbe38 sp 00007ffc34dd4bb0 error 4 in libqxcb.so[7fdf05c72000+b5000]
    There is obviously a bug someplace, any suggestions?

    #2
    Well, I finally found a solution @ https://forums.opensuse.org/showthre...-can-not-start

    After renaming ~/.local/share/kscreen to ~/.local/share/kscreen.bak I was able to login. I'll now delete the backup file ~/.local/share/kscreen.bak since doesn't seem to be needed.

    Comment


      #3
      Originally posted by rritoch View Post
      Well, I finally found a solution @ https://forums.opensuse.org/showthre...-can-not-start

      After renaming ~/.local/share/kscreen to ~/.local/share/kscreen.bak I was able to login. I'll now delete the backup file ~/.local/share/kscreen.bak since doesn't seem to be needed.
      I might have to try this. I don't know if I have the same problem as you but sddm locks up and I can't log in. I see the sddm screen and my user, but it freezes during the fade animation and I can't enter my password. I can access a virtual terminal, however. For the moment, I've enabled auto login for my user so that it bypasses the sddm login screen, and for security I have it set to automatically start the screen locker. Not ideal, but it works pretty much just the same. For those interested, you can add /bin/loginctl lock-session as an item to the autostart settings in KDE to get the locker to start up on entering a plasma session.

      Comment

      Working...
      X