SDDM Fails most times on start, SDDM Theme issue?

I have this odd issue where SDDM will fail %95 of the time, and I need to start it with systemctl start sddm . This is kinda annoying, but I think I finally figured out why it might be happening.

Themes appear to give some interesting errors in the log provided, however it makes no sense why I can manually start it just fine. I've only provided the tail end of the log.

Jul 14 11:20:16 underverse sddm-helper[8738]: [PAM] Closing session
Jul 14 11:20:16 underverse sddm-helper[8738]: pam_unix(sddm:session): session closed for user theriddick
Jul 14 11:20:16 underverse sddm-helper[8738]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
Jul 14 11:20:16 underverse kernel: audit: type=1106 audit(1594691416.631:451): pid=8738 uid=0 auid=1000 ses=12 subj==unconfined msg='op=PAM:session_close grantors=pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env,pam_kwallet5 acct="theriddick" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=:0 res=success'
Jul 14 11:20:16 underverse kernel: audit: type=1104 audit(1594691416.631:452): pid=8738 uid=0 auid=1000 ses=12 subj==unconfined msg='op=PAM:setcred grantors=pam_tally2,pam_shells,pam_unix,pam_permit acct="theriddick" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=:0 res=success'
Jul 14 11:20:16 underverse audit[8738]: USER_END pid=8738 uid=0 auid=1000 ses=12 subj==unconfined msg='op=PAM:session_close grantors=pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env,pam_kwallet5 acct="theriddick" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=:0 res=success'
Jul 14 11:20:16 underverse audit[8738]: CRED_DISP pid=8738 uid=0 auid=1000 ses=12 subj==unconfined msg='op=PAM:setcred grantors=pam_tally2,pam_shells,pam_unix,pam_permit acct="theriddick" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=:0 res=success'
Jul 14 11:20:16 underverse sddm-helper[8738]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Jul 14 11:20:16 underverse sddm-helper[8738]: [PAM] Ended.
Jul 14 11:20:16 underverse sddm[2276]: Auth: sddm-helper exited successfully
Jul 14 11:20:16 underverse sddm[2276]: Socket server stopping...
Jul 14 11:20:16 underverse sddm[2276]: Socket server stopped.
Jul 14 11:20:16 underverse sddm[2276]: Display server stopping...
Jul 14 11:20:17 underverse sddm[2276]: Display server stopped.
Jul 14 11:20:17 underverse sddm[2276]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Jul 14 11:20:17 underverse sddm[2276]: Removing display ":0" ...
Jul 14 11:20:17 underverse sddm[2276]: Adding new display on vt 1 ...
Jul 14 11:20:17 underverse sddm[2276]: Loading theme configuration from ""
Jul 14 11:20:17 underverse sddm[2276]: Display server starting...
Jul 14 11:20:17 underverse sddm[2276]: Running: /usr/bin/X -dpi 120 -auth /var/run/sddm/{2f6459cf-ee9b-4eb0-9175-cd907730904a} -background none -noreset -displayfd 18 -seat seat0 vt1
Jul 14 11:20:18 underverse sddm[2276]: Setting default cursor
Jul 14 11:20:18 underverse sddm[2276]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
Jul 14 11:20:18 underverse sddm[2276]: Display server started.
Jul 14 11:20:18 underverse sddm[2276]: Socket server starting...
Jul 14 11:20:18 underverse sddm[2276]: Socket server started.
Jul 14 11:20:18 underverse sddm[2276]: Loading theme configuration from "/usr/share/sddm/themes/sugar-candy/theme.conf"
Jul 14 11:20:18 underverse sddm[2276]: Greeter starting...
Jul 14 11:20:18 underverse sddm[2276]: Adding cookie to "/var/run/sddm/{2f6459cf-ee9b-4eb0-9175-cd907730904a}"
Jul 14 11:20:18 underverse sddm-helper[9825]: [PAM] Starting...
Jul 14 11:20:18 underverse audit[9825]: USER_AUTH pid=9825 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Jul 14 11:20:18 underverse audit[9825]: USER_ACCT pid=9825 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Jul 14 11:20:18 underverse audit[9825]: CRED_ACQ pid=9825 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Jul 14 11:20:18 underverse sddm-helper[9825]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
Jul 14 11:20:18 underverse sddm-helper[9825]: [PAM] Authenticating...
Jul 14 11:20:18 underverse sddm-helper[9825]: [PAM] returning.
Jul 14 11:20:18 underverse kernel: audit: type=1100 audit(1594691418.104:454): pid=9825 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Jul 14 11:20:18 underverse kernel: audit: type=1101 audit(1594691418.104:455): pid=9825 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Jul 14 11:20:18 underverse kernel: audit: type=1103 audit(1594691418.104:456): pid=9825 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Jul 14 11:20:18 underverse systemd-logind[606]: New session c6 of user sddm.
Jul 14 11:20:18 underverse audit[9829]: USER_ACCT pid=9829 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 14 11:20:18 underverse kernel: audit: type=1101 audit(1594691418.128:458): pid=9829 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 14 11:20:18 underverse kernel: audit: type=1103 audit(1594691418.131:459): pid=9829 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:setcred grantors=? acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 14 11:20:18 underverse audit[9829]: CRED_ACQ pid=9829 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:setcred grantors=? acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 14 11:20:18 underverse systemd[9829]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]
Jul 14 11:20:18 underverse systemd[9829]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
Jul 14 11:20:18 underverse audit[9829]: USER_START pid=9829 uid=0 auid=967 ses=13 subj==unconfined msg='op=PAM:session_open grantors=pam_loginuid,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 14 11:20:18 underverse systemd[1]: Started Session c6 of user sddm.
Jul 14 11:20:18 underverse audit[9825]: USER_START pid=9825 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:session_open grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=:0 res=success'
Jul 14 11:20:18 underverse sddm[2276]: Greeter session started successfully
Jul 14 11:20:18 underverse sddm-greeter[9840]: High-DPI autoscaling not Enabled
Jul 14 11:20:18 underverse sddm-greeter[9840]: Reading from "/usr/share/xsessions/plasma.desktop"
Jul 14 11:20:18 underverse sddm-greeter[9840]: Loading theme configuration from "/usr/share/sddm/themes/sugar-candy/theme.conf"
Jul 14 11:20:18 underverse sddm-greeter[9840]: Connected to the daemon.
Jul 14 11:20:18 underverse sddm[2276]: Message received from greeter: Connect
Jul 14 11:20:18 underverse sddm-greeter[9840]: Loading file:///usr/share/sddm/themes/sugar-candy/Main.qml...
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/VirtualKeyboard.qml:28:1: Type InputPanel unavailable
Jul 14 11:20:18 underverse sddm-greeter[9840]: qrc:/QtQuick/VirtualKeyboard/content/InputPanel.qml:127:5: Type Keyboard unavailable
Jul 14 11:20:18 underverse sddm-greeter[9840]: qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:38:1: module "QtQuick.VirtualKeyboard.Plugins" is not installed
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/Input.qml:561:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SessionButton.qml:38:5: Unable to assign ComboBox_QMLTYPE_7 to Control_QMLTYPE_13
Jul 14 11:20:18 underverse sddm-greeter[9840]: Adding view for "DP-4" QRect(0,0 3840x2160)
Jul 14 11:20:18 underverse sddm-greeter[9840]: Message received from daemon: Capabilities
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: file:///usr/share/sddm/themes/sugar-candy/Components/SystemButtons.qml:70:13: Unable to assign [undefined] to QQuickItem*
Jul 14 11:20:18 underverse sddm-greeter[9840]: Message received from daemon: HostName
Jul 14 11:20:27 underverse sddm[2276]: Message received from greeter: Reboot
Jul 14 11:20:27 underverse systemd[1]: Stopping Session c6 of user sddm.
Jul 14 11:20:27 underverse sddm[2276]: Error from greeter session: "Process crashed"
Jul 14 11:20:27 underverse sddm[2276]: Auth: sddm-helper crashed (exit code 15)
Jul 14 11:20:27 underverse sddm[2276]: Error from greeter session: "Process crashed"
Jul 14 11:20:27 underverse sddm[2276]: Auth: sddm-helper exited with 15
Jul 14 11:20:27 underverse sddm[2276]: Greeter stopped.
Jul 14 11:20:27 underverse sddm[2276]: Signal received: SIGTERM
Jul 14 11:20:27 underverse sddm[2276]: Socket server stopping...
Jul 14 11:20:27 underverse sddm[2276]: Socket server stopped.
Jul 14 11:20:27 underverse sddm[2276]: Display server stopping...
Jul 14 11:20:27 underverse systemd[1]: Stopped Session c6 of user sddm.
Jul 14 11:20:27 underverse systemd[9830]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]
Jul 14 11:20:27 underverse sddm[2276]: Display server stopped.
Jul 14 11:20:27 underverse sddm[2276]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Jul 14 11:20:27 underverse systemd[1]: sddm.service: Succeeded.
Jul 14 11:20:27 underverse audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Now I choose breeze SDDM theme and get s slightly different output, it still does not work however.

Jul 14 11:31:45 underverse kcmshell5[4488]: Couldn't load plugin "kcms/kcm_sddm" : "The shared library was not found."  -- falling back to old-style loading from desktop file
Jul 14 11:31:59 underverse kcmshell5[4488]: Ovr: "/usr/share/sddm/themes/breeze/theme.conf.user"
Jul 14 11:31:59 underverse dbus-daemon[601]: [system] Activating service name='org.kde.kcontrol.kcmsddm' requested by ':1.294' (uid=1000 pid=4488 comm="/usr/bin/kcmshell5 kcm_sddm " label="unconfined") (using servicehelper)
Jul 14 11:31:59 underverse dbus-daemon[601]: [system] Successfully activated service 'org.kde.kcontrol.kcmsddm'
Jul 14 11:32:01 underverse polkitd[604]: Operator of unix-session:4 successfully authenticated as unix-user:theriddick to gain ONE-SHOT authorization for action org.kde.kcontrol.kcmsddm.save for system-bus-name::1.294 [/usr/bin/kcmshell5 kcm_sddm] (owned by unix-user:theriddick)
Jul 14 11:32:12 underverse sddm[2254]: kwalletd5: Checking for pam module
Jul 14 11:32:12 underverse sddm[2254]: kwalletd5: Got pam-login param
Jul 14 11:32:12 underverse sddm[2254]: kwalletd5: Waiting for hash on 7-
Jul 14 11:32:12 underverse sddm[2254]: kwalletd5: waitingForEnvironment on: 3
Jul 14 11:32:12 underverse sddm[2254]: kwalletd5: client connected
Jul 14 11:32:12 underverse sddm[2254]: kwalletd5: client disconnected
Jul 14 11:32:12 underverse sddm[2214]: Authentication error: "Process crashed"
Jul 14 11:32:12 underverse sddm[2214]: Auth: sddm-helper crashed (exit code 15)
Jul 14 11:32:12 underverse sddm[2214]: Authentication error: "Process crashed"
Jul 14 11:32:12 underverse sddm[2214]: Auth: sddm-helper exited with 15
Jul 14 11:32:12 underverse sddm[2214]: Socket server stopping...
Jul 14 11:32:12 underverse sddm[2214]: Socket server stopped.
Jul 14 11:32:12 underverse sddm[2214]: Display server stopping...
Jul 14 11:32:13 underverse sddm[2214]: Display server stopped.
Jul 14 11:32:13 underverse sddm[2214]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Jul 14 11:32:13 underverse sddm[2214]: Removing display ":0" ...
Jul 14 11:32:13 underverse sddm[2214]: Adding new display on vt 1 ...
Jul 14 11:32:13 underverse sddm[2214]: Loading theme configuration from ""
Jul 14 11:32:13 underverse sddm[2214]: Display server starting...
Jul 14 11:32:13 underverse sddm[2214]: Running: /usr/bin/X -dpi 120 -auth /var/run/sddm/{82d536bc-398a-4bd8-8142-5f613594c202} -background none -noreset -displayfd 18 -seat seat0 vt1
Jul 14 11:32:13 underverse sddm[2214]: Setting default cursor
Jul 14 11:32:13 underverse sddm[2214]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
Jul 14 11:32:13 underverse sddm[2214]: Display server started.
Jul 14 11:32:13 underverse sddm[2214]: Socket server starting...
Jul 14 11:32:13 underverse sddm[2214]: Socket server started.
Jul 14 11:32:13 underverse sddm[2214]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
Jul 14 11:32:13 underverse sddm[2214]: Greeter starting...
Jul 14 11:32:13 underverse sddm[2214]: Adding cookie to "/var/run/sddm/{82d536bc-398a-4bd8-8142-5f613594c202}"
Jul 14 11:32:13 underverse sddm[2214]: Signal received: SIGTERM
Jul 14 11:32:13 underverse sddm[2214]: Socket server stopping...
Jul 14 11:32:13 underverse sddm[2214]: Socket server stopped.
Jul 14 11:32:13 underverse sddm[2214]: Display server stopping...
Jul 14 11:32:13 underverse sddm-helper[5458]: [PAM] Starting...
Jul 14 11:32:13 underverse audit[5458]: USER_AUTH pid=5458 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Jul 14 11:32:13 underverse audit[5458]: USER_ACCT pid=5458 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Jul 14 11:32:13 underverse sddm-helper[5458]: [PAM] Authenticating...
Jul 14 11:32:13 underverse sddm-helper[5458]: [PAM] returning.
Jul 14 11:32:14 underverse sddm[2214]: Display server stopped.
Jul 14 11:32:14 underverse sddm[2214]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Jul 14 11:32:14 underverse sddm[2214]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
Jul 14 11:32:14 underverse systemd[1]: sddm.service: Succeeded.
Jul 14 11:32:14 underverse audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Well I don't think its a theme issue, and doesn't appear to be a startup timing issue as a put ExecStartPre=/bin/sleep 2 in the service file and it still doesn't start up normally.

I do notice this in the logs
(EE) Failed to open authorization file "/var/run/sddm/{de46708b-3948-46f7-9305-cf8cac7800bf}": No such file or directory

It seems the common thing to do is just reinstall manjaro from scratch. I'll have to think about that since I can start sddm service just fine manually.

Changed to LightDM, same issue. It seems systemd services is broken when it comes to login display managers. No idea how to fix it, I've tried MANY suggestions on forums of people having similar issues.

The only thing left to do is reinstall, however I have this feeling the issue will completely reappear. The only thing I can think of being at fault is I retained my HOME folder from previous installs, and it seems somehow that can break things maybe... nobody has found a solution yet, VERY weird issue to have!

So what I will do is a complete format of my linux partition next time, and backup my user folder data somewhere else. Maybe I can copy it back over to the new home folder and not have any issues.

I followed the below thread and created my own SDDM start script, that basically just starts the sddm service manually. It works... kinda silly really, but it works.

One would think that the problem must be a race issue but even with service start delays SDDM fails on this system, but yet this script as a systemd service works...

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by