Black screen after entering password in SDDM (with logs)

Here’s the problem I’m facing. It doesn’t happen always, and I’ve noticed that typing my password slowly helps to avoid it (maybe some race condition?).

Anyway:
I reach SDDM on a fresh boot, I type my password and hit enter, everything turns black and no KDE splash screen appears.

Eventually I’m dropped into a TTY login prompt (or, when it takes longer, I just go there myself with Ctrl Alt Fsomething).

Again, it doesn’t happen always, but it tends to happen when I type my password somewhat quickly (it’s short and easy to type, so it happens most of the time). Typing it slowly seems to produce successful graphic logins almost every time.

I collected journalctl -b logs for:

  • failed login with my user
  • failed login with a test user created ad-hoc
  • successful login with my user (after entering the password slowly)

Logs are here:

I focused on the sddm-helper part of the log files. In the files with “andrea” in the name (my user), refer to L2320+ (failed log) and L2369+ (successful log).

In the failed attempt, shortly after session opened for user andrea(uid=1000) by andrea(uid=0), there’s pam_unix(sddm:session): session closed for user andrea (i.e. I’m kicked out), which doesn’t happen in the successful case, of course.

The point is, I have no idea what leads to this. I see pretty much the same things being done in between, although with a slightly different order.

For example this user service I created appears immediately in the failed login case, but a while later in the successful attempt:

Jul 17 23:24:40 andromeda ssh-agent[1833]: SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket; export SSH_AUTH_SOCK;
Jul 17 23:24:40 andromeda ssh-agent[1833]: echo Agent pid 1833;

Any ideas/help?

Thanks :slight_smile:

Update: disabling that systemd user service I mentioned didn’t change a thing, I could still reproduce the issue (and avoid it entering my password slowly)

So, still a mistery

Are there any errors reported by sddm/sddm-helper prior to this?

Be sure / is not full or almaost

Hi, this is an excerpt from the failure log that stretches all the way back to the first sddm line:

Jul 17 23:24:36 andromeda sddm[1689]: Initializing...
Jul 17 23:24:36 andromeda sddm[1689]: Starting...
Jul 17 23:24:36 andromeda sddm[1689]: Logind interface found
Jul 17 23:24:36 andromeda sddm[1689]: Adding new display...
Jul 17 23:24:36 andromeda sddm[1689]: Loaded empty theme configuration
Jul 17 23:24:36 andromeda sddm[1689]: Xauthority path: "/run/sddm/xauth_VxTSwD"
Jul 17 23:24:36 andromeda sddm[1689]: Using VT 2
Jul 17 23:24:36 andromeda sddm[1689]: Display server starting...
Jul 17 23:24:36 andromeda sddm[1689]: Writing cookie to "/run/sddm/xauth_VxTSwD"
Jul 17 23:24:36 andromeda sddm[1689]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_VxTSwD -noreset -displayfd 16
Jul 17 23:24:36 andromeda systemd[1]: Started X Display Manager.
Jul 17 23:24:36 andromeda update_postmaps[1706]: chmod: cannot access '/etc/postfix/relocated.lmdb': No such file or directory
Jul 17 23:24:36 andromeda update_postmaps[1707]: postmap: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:36 andromeda postfix/postmap[1707]: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:37 andromeda sddm[1689]: Setting default cursor
Jul 17 23:24:37 andromeda sddm[1689]: Running display setup script  "/usr/etc/X11/xdm/Xsetup"
Jul 17 23:24:37 andromeda sddm[1689]: Display server started.
Jul 17 23:24:37 andromeda sddm[1689]: Socket server starting...
Jul 17 23:24:37 andromeda sddm[1689]: Socket server started.
Jul 17 23:24:37 andromeda sddm[1689]: Loading theme configuration from "/usr/share/sddm/themes/breeze-openSUSE/theme.conf"
Jul 17 23:24:37 andromeda sddm[1689]: Greeter starting...
Jul 17 23:24:37 andromeda sddm-helper[1718]: [PAM] Starting...
Jul 17 23:24:37 andromeda sddm-helper[1718]: [PAM] Authenticating...
Jul 17 23:24:37 andromeda sddm-helper[1718]: [PAM] returning.
Jul 17 23:24:37 andromeda systemd[1]: Created slice User Slice of UID 463.
Jul 17 23:24:37 andromeda systemd[1]: Starting User Runtime Directory /run/user/463...
Jul 17 23:24:37 andromeda systemd-logind[1282]: New session 1 of user sddm.
Jul 17 23:24:37 andromeda systemd[1]: Finished User Runtime Directory /run/user/463.
Jul 17 23:24:37 andromeda systemd[1]: Starting User Manager for UID 463...
Jul 17 23:24:37 andromeda (systemd)[1721]: pam_unix(systemd-user:session): session opened for user sddm(uid=463) by sddm(uid=0)
Jul 17 23:24:37 andromeda (systemd)[1721]: pam_kwallet5(systemd-user:session): pam_kwallet5: not a graphical session, skipping. Use force_run parameter to ignore this.
Jul 17 23:24:37 andromeda systemd[1721]: Queued start job for default target Main User Target.
Jul 17 23:24:37 andromeda systemd[1721]: Created slice User Application Slice.
Jul 17 23:24:37 andromeda systemd[1721]: Started Submitting pending crash events (file monitor).
Jul 17 23:24:37 andromeda systemd[1721]: Cleanup lingering KCrash metadata was skipped because of an unmet condition check (ConditionPathExistsGlob=/var/lib/sddm/.cache/kcrash-metadata/*.ini).
Jul 17 23:24:37 andromeda systemd[1721]: Submitting pending crash events was skipped because of an unmet condition check (ConditionPathExistsGlob=/var/lib/sddm/.cache/drkonqi/sentry-envelopes/*).
Jul 17 23:24:37 andromeda systemd[1721]: Started Daily Cleanup of User's Temporary Directories.
Jul 17 23:24:37 andromeda systemd[1721]: Reached target Paths.
Jul 17 23:24:37 andromeda systemd[1721]: Reached target Timers.
Jul 17 23:24:37 andromeda systemd[1721]: Starting D-Bus User Message Bus Socket...
Jul 17 23:24:37 andromeda systemd[1721]: Listening on Socket to launch DrKonqi for a systemd-coredump crash.
Jul 17 23:24:37 andromeda systemd[1721]: Listening on PipeWire PulseAudio.
Jul 17 23:24:37 andromeda systemd[1721]: Listening on PipeWire Multimedia System Sockets.
Jul 17 23:24:37 andromeda systemd[1721]: Starting Create User Files and Directories...
Jul 17 23:24:37 andromeda systemd[1721]: Listening on D-Bus User Message Bus Socket.
Jul 17 23:24:37 andromeda systemd[1721]: Finished Create User Files and Directories.
Jul 17 23:24:37 andromeda systemd[1721]: Reached target Sockets.
Jul 17 23:24:37 andromeda systemd[1721]: Reached target Basic System.
Jul 17 23:24:37 andromeda systemd[1721]: Cleanup lingering KCrash metadata was skipped because of an unmet condition check (ConditionPathExistsGlob=/var/lib/sddm/.cache/kcrash-metadata/*.ini).
Jul 17 23:24:37 andromeda systemd[1721]: Reached target Main User Target.
Jul 17 23:24:37 andromeda systemd[1721]: Startup finished in 127ms.
Jul 17 23:24:37 andromeda systemd[1]: Started User Manager for UID 463.
Jul 17 23:24:37 andromeda systemd[1]: Started Session 1 of User sddm.
Jul 17 23:24:37 andromeda update_postmaps[1738]: chmod: cannot access '/etc/postfix/sasl_passwd.lmdb': No such file or directory
Jul 17 23:24:37 andromeda sddm-helper[1718]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=463) by sddm(uid=0)
Jul 17 23:24:37 andromeda sddm-helper[1718]: pam_kwallet5(sddm-greeter:session): pam_kwallet5: pam_sm_open_session
Jul 17 23:24:37 andromeda sddm-helper[1718]: pam_kwallet5(sddm-greeter:session): pam_kwallet5: open_session called without kwallet5_key
Jul 17 23:24:37 andromeda sddm-helper[1718]: Writing cookie to "/tmp/xauth_LJnNnT"
Jul 17 23:24:37 andromeda sddm-helper[1718]: Starting X11 session: "" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm-:0-lUpkbe --theme /usr/share/sddm/themes/breeze-openSUSE"
Jul 17 23:24:37 andromeda update_postmaps[1739]: postmap: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:37 andromeda postfix/postmap[1739]: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:37 andromeda sddm[1689]: Greeter session started successfully
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: High-DPI autoscaling Enabled
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: Reading from "/usr/local/share/wayland-sessions/plasmawayland.desktop"
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: Reading from "/usr/local/share/xsessions/default.desktop"
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: Reading from "/usr/share/xsessions/default.desktop"
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: Reading from "/usr/local/share/xsessions/icewm-session.desktop"
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: Reading from "/usr/share/xsessions/icewm-session.desktop"
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: Reading from "/usr/local/share/xsessions/icewm.desktop"
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: Reading from "/usr/share/xsessions/icewm.desktop"
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: Reading from "/usr/local/share/xsessions/kde-plasma.desktop"
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: Reading from "/usr/share/xsessions/kde-plasma.desktop"
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: Reading from "/usr/local/share/xsessions/plasma6.desktop"
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: Reading from "/usr/share/xsessions/plasma6.desktop"
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: Loading theme configuration from "/usr/share/sddm/themes/breeze-openSUSE/theme.conf"
Jul 17 23:24:37 andromeda systemd[1721]: Created slice User Core Session Slice.
Jul 17 23:24:37 andromeda systemd[1721]: Starting D-Bus User Message Bus...
Jul 17 23:24:37 andromeda systemd[1721]: Started D-Bus User Message Bus.
Jul 17 23:24:37 andromeda sddm-greeter-qt6[1740]: Connected to the daemon.
Jul 17 23:24:37 andromeda sddm[1689]: Message received from greeter: Connect
Jul 17 23:24:38 andromeda sddm-greeter-qt6[1740]: Loading file:///usr/share/sddm/themes/breeze-openSUSE/Main.qml...
Jul 17 23:24:38 andromeda sddm-greeter-qt6[1740]: Adding view for "eDP-1" QRect(0,0 2256x1504)
Jul 17 23:24:38 andromeda sddm-greeter-qt6[1740]: Loading file:///usr/share/sddm/themes/breeze-openSUSE/Main.qml...
Jul 17 23:24:38 andromeda sddm-greeter-qt6[1740]: Adding view for "DP-3" QRect(2256,0 2560x1440)
Jul 17 23:24:38 andromeda sddm-greeter-qt6[1740]: Message received from daemon: Capabilities
Jul 17 23:24:38 andromeda sddm-greeter-qt6[1740]: Message received from daemon: HostName
Jul 17 23:24:38 andromeda update_postmaps[1803]: chmod: cannot access '/etc/postfix/relay_ccerts.lmdb': No such file or directory
Jul 17 23:24:38 andromeda update_postmaps[1804]: postmap: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:38 andromeda postfix/postmap[1804]: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:39 andromeda update_postmaps[1805]: chmod: cannot access '/etc/postfix/helo_access.lmdb': No such file or directory
Jul 17 23:24:39 andromeda update_postmaps[1806]: postmap: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:39 andromeda postfix/postmap[1806]: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 40 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 40 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 64 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 64 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 55 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 55 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 53 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 53 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 58 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 58 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 56 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 56 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 54 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 54 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 52 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 52 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 60 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 60 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 59 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 59 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 57 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 57 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 73 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 73 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 74 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 74 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 109 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 109 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 69 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 69 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 66 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 66 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 44 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 44 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 42 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 42 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 39 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 39 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 62 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 62 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 41 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 41 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 94 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 94 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 93 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 93 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 38 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 38 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 68 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 68 affinity is now unmanaged
Jul 17 23:24:39 andromeda irqbalance[1275]: Cannot change IRQ 43 affinity: Read-only file system
Jul 17 23:24:39 andromeda irqbalance[1275]: IRQ 43 affinity is now unmanaged
Jul 17 23:24:40 andromeda sddm-greeter-qt6[1740]: file:///usr/share/sddm/themes/breeze-openSUSE/Main.qml:235:17 Parameter "username" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
Jul 17 23:24:40 andromeda sddm-greeter-qt6[1740]: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
Jul 17 23:24:40 andromeda sddm[1689]: Message received from greeter: Login
Jul 17 23:24:40 andromeda sddm[1689]: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
Jul 17 23:24:40 andromeda sddm[1689]: Session "/usr/share/wayland-sessions/plasmawayland.desktop" selected, command: "/usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" for VT 1
Jul 17 23:24:40 andromeda sddm-helper[1807]: [PAM] Starting...
Jul 17 23:24:40 andromeda sddm-helper[1807]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Jul 17 23:24:40 andromeda sddm-helper[1807]: [PAM] Authenticating...
Jul 17 23:24:40 andromeda sddm-helper[1807]: pam_kwallet5(sddm:auth): pam_kwallet5: Couldn't get password (it is empty)
Jul 17 23:24:40 andromeda sddm-helper[1807]: [PAM] Preparing to converse...
Jul 17 23:24:40 andromeda sddm-helper[1807]: [PAM] Conversation with 1 messages
Jul 17 23:24:40 andromeda sddm-helper[1807]: [PAM] returning.
Jul 17 23:24:40 andromeda sddm[1689]: Authentication for user  "andrea"  successful
Jul 17 23:24:40 andromeda sddm-helper[1807]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Jul 17 23:24:40 andromeda sddm-greeter-qt6[1740]: Message received from daemon: LoginSucceeded
Jul 17 23:24:40 andromeda systemd[1]: Created slice User Slice of UID 1000.
Jul 17 23:24:40 andromeda systemd[1]: Starting User Runtime Directory /run/user/1000...
Jul 17 23:24:40 andromeda systemd-logind[1282]: New session 3 of user andrea.
Jul 17 23:24:40 andromeda systemd[1]: Finished User Runtime Directory /run/user/1000.
Jul 17 23:24:40 andromeda systemd[1]: Starting User Manager for UID 1000...
Jul 17 23:24:40 andromeda (systemd)[1812]: pam_unix(systemd-user:session): session opened for user andrea(uid=1000) by andrea(uid=0)
Jul 17 23:24:40 andromeda (systemd)[1812]: pam_kwallet5(systemd-user:session): pam_kwallet5: not a graphical session, skipping. Use force_run parameter to ignore this.
Jul 17 23:24:40 andromeda sddm-helper[1718]: [PAM] Closing session
Jul 17 23:24:40 andromeda sddm-helper[1718]: pam_unix(sddm-greeter:session): session closed for user sddm
Jul 17 23:24:40 andromeda sddm-helper[1718]: pam_kwallet5(sddm-greeter:session): pam_kwallet5: pam_sm_close_session
Jul 17 23:24:40 andromeda sddm-helper[1718]: [PAM] Ended.
Jul 17 23:24:40 andromeda sddm[1689]: Auth: sddm-helper exited successfully
Jul 17 23:24:40 andromeda sddm[1689]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS
Jul 17 23:24:40 andromeda systemd[1]: session-1.scope: Deactivated successfully.
Jul 17 23:24:40 andromeda systemd-logind[1282]: Session 1 logged out. Waiting for processes to exit.
Jul 17 23:24:40 andromeda systemd-logind[1282]: Removed session 1.
Jul 17 23:24:40 andromeda systemd[1812]: Queued start job for default target Main User Target.
Jul 17 23:24:40 andromeda systemd-journald[733]: /var/log/journal/10262dde7943415eaf3bc5a9ddbccba1/user-1000.journal: Journal file uses a different sequence number ID, rotating.
Jul 17 23:24:40 andromeda systemd[1812]: Created slice User Application Slice.
Jul 17 23:24:40 andromeda systemd[1812]: Started Submitting pending crash events (file monitor).
Jul 17 23:24:40 andromeda systemd[1812]: Started Cleanup lingering KCrash metadata.
Jul 17 23:24:40 andromeda systemd[1812]: Submitting pending crash events was skipped because of an unmet condition check (ConditionPathExistsGlob=/home/andrea/.cache/drkonqi/sentry-envelopes/*).
Jul 17 23:24:40 andromeda systemd[1812]: Started Daily Cleanup of User's Temporary Directories.
Jul 17 23:24:40 andromeda systemd[1812]: Reached target Paths.
Jul 17 23:24:40 andromeda systemd[1812]: Reached target Timers.
Jul 17 23:24:40 andromeda systemd[1812]: Starting D-Bus User Message Bus Socket...
Jul 17 23:24:40 andromeda systemd[1812]: Listening on Socket to launch DrKonqi for a systemd-coredump crash.
Jul 17 23:24:40 andromeda systemd[1812]: Listening on PipeWire PulseAudio.
Jul 17 23:24:40 andromeda systemd[1812]: Listening on PipeWire Multimedia System Sockets.
Jul 17 23:24:40 andromeda systemd[1812]: Starting Create User Files and Directories...
Jul 17 23:24:40 andromeda systemd[1812]: Finished Create User Files and Directories.
Jul 17 23:24:40 andromeda systemd[1812]: Listening on D-Bus User Message Bus Socket.
Jul 17 23:24:40 andromeda systemd[1812]: Reached target Sockets.
Jul 17 23:24:40 andromeda systemd[1812]: Reached target Basic System.
Jul 17 23:24:40 andromeda systemd[1]: Started User Manager for UID 1000.
Jul 17 23:24:40 andromeda systemd[1812]: Started Cleanup lingering KCrash metadata.
Jul 17 23:24:40 andromeda systemd[1]: Started Session 3 of User andrea.
Jul 17 23:24:40 andromeda systemd[1812]: Started SSH key agent.
Jul 17 23:24:40 andromeda systemd[1812]: Reached target Main User Target.
Jul 17 23:24:40 andromeda systemd[1812]: Startup finished in 152ms.
Jul 17 23:24:40 andromeda sddm-helper[1807]: pam_unix(sddm:session): session opened for user andrea(uid=1000) by andrea(uid=0)
Jul 17 23:24:40 andromeda sddm-helper[1807]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Jul 17 23:24:40 andromeda ssh-agent[1833]: SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket; export SSH_AUTH_SOCK;
Jul 17 23:24:40 andromeda ssh-agent[1833]: echo Agent pid 1833;
Jul 17 23:24:40 andromeda sddm-helper[1837]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
Jul 17 23:24:40 andromeda sddm-helper[1807]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session" "/usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
Jul 17 23:24:40 andromeda sddm-helper[1839]: Jumping to VT 1
Jul 17 23:24:40 andromeda sddm-helper[1839]: VT mode didn't need to be fixed
Jul 17 23:24:40 andromeda update_postmaps[1841]: chmod: cannot access '/etc/postfix/relay.lmdb': No such file or directory
Jul 17 23:24:40 andromeda update_postmaps[1842]: postmap: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:40 andromeda postfix/postmap[1842]: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:41 andromeda sddm[1689]: Session started true
Jul 17 23:24:41 andromeda sddm-helper[1807]: Failed to write utmpx:  No such file or directory
Jul 17 23:24:41 andromeda dbus-daemon[1273]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by ':1.26' (uid=1000 pid=1839 comm="/usr/bin/startplasma-wayland")
Jul 17 23:24:41 andromeda sddm-helper[1807]: [PAM] Closing session
Jul 17 23:24:41 andromeda sddm-helper[1807]: pam_unix(sddm:session): session closed for user andrea
Jul 17 23:24:41 andromeda sddm-helper[1807]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
Jul 17 23:24:41 andromeda sddm-helper[1807]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Jul 17 23:24:41 andromeda sddm-helper[1807]: Failed to write utmpx:  No such file or directory
Jul 17 23:24:41 andromeda sddm-helper[1807]: [PAM] Ended.
Jul 17 23:24:41 andromeda sddm[1689]: Auth: sddm-helper exited with 1
Jul 17 23:24:41 andromeda systemd[1]: Starting Locale Service...
Jul 17 23:24:41 andromeda systemd-logind[1282]: Session 3 logged out. Waiting for processes to exit.
Jul 17 23:24:41 andromeda agetty[1687]: failed to open credentials directory
Jul 17 23:24:41 andromeda dbus-daemon[1273]: [system] Successfully activated service 'org.freedesktop.locale1'
Jul 17 23:24:41 andromeda systemd[1]: Started Locale Service.
Jul 17 23:24:41 andromeda update_postmaps[1910]: chmod: cannot access '/etc/postfix/relay_recipients.lmdb': No such file or directory
Jul 17 23:24:41 andromeda update_postmaps[1911]: postalias: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:41 andromeda postfix/postalias[1911]: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:42 andromeda update_postmaps[1913]: postalias: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:42 andromeda postfix/postalias[1913]: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:44 andromeda postfix[1915]: postfix: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:44 andromeda postfix[1915]: fatal: bad string length 0 < 1: myhostname =
Jul 17 23:24:45 andromeda systemd[1]: postfix.service: Control process exited, code=exited, status=1/FAILURE
Jul 17 23:24:45 andromeda cond_slp[1919]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtp_enforce_tls" will be removed; instead, specify "smtp_tls_security_level"
Jul 17 23:24:45 andromeda cond_slp[1919]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtpd_enforce_tls" will be removed; instead, specify "smtpd_tls_security_level"
Jul 17 23:24:45 andromeda cond_slp[1919]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtp_use_tls" will be removed; instead, specify "smtp_tls_security_level"
Jul 17 23:24:45 andromeda cond_slp[1919]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtpd_use_tls" will be removed; instead, specify "smtpd_tls_security_level"
Jul 17 23:24:45 andromeda systemd[1]: postfix.service: Failed with result 'exit-code'.
Jul 17 23:24:45 andromeda systemd[1]: Failed to start Postfix Mail Transport Agent.
Jul 17 23:24:45 andromeda systemd[1]: Started Command Scheduler.
Jul 17 23:24:45 andromeda systemd[1]: Reached target Multi-User System.
Jul 17 23:24:45 andromeda systemd[1]: Reached target Graphical Interface.
Jul 17 23:24:45 andromeda systemd[1]: Startup finished in 8.737s (firmware) + 2.297s (loader) + 823ms (kernel) + 4.799s (initrd) + 20.475s (userspace) = 37.133s.
Jul 17 23:24:45 andromeda cron[1927]: (CRON) STARTUP (1.7.2)
Jul 17 23:24:45 andromeda cron[1927]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 74% if used.)
Jul 17 23:24:45 andromeda cron[1927]: (CRON) INFO (running with inotify support)
Jul 17 23:24:46 andromeda systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Jul 17 23:24:50 andromeda systemd[1]: Stopping User Manager for UID 463...
Jul 17 23:24:50 andromeda systemd[1721]: Activating special unit Exit the Session...
Jul 17 23:24:50 andromeda systemd[1721]: Stopped target Main User Target.
Jul 17 23:24:50 andromeda systemd[1721]: Closed Socket to launch DrKonqi for a systemd-coredump crash.
Jul 17 23:24:50 andromeda systemd[1721]: Stopping D-Bus User Message Bus...
Jul 17 23:24:50 andromeda systemd[1721]: Stopped D-Bus User Message Bus.
Jul 17 23:24:50 andromeda systemd[1721]: Removed slice User Core Session Slice.
Jul 17 23:24:50 andromeda systemd[1721]: Stopped target Basic System.
Jul 17 23:24:50 andromeda systemd[1721]: Stopped target Paths.
Jul 17 23:24:50 andromeda systemd[1721]: Stopped Submitting pending crash events (file monitor).
Jul 17 23:24:50 andromeda systemd[1721]: Stopped target Sockets.
Jul 17 23:24:50 andromeda systemd[1721]: Stopped target Timers.
Jul 17 23:24:50 andromeda systemd[1721]: Stopped Daily Cleanup of User's Temporary Directories.
Jul 17 23:24:50 andromeda systemd[1721]: Closed D-Bus User Message Bus Socket.
Jul 17 23:24:50 andromeda systemd[1721]: Closed PipeWire PulseAudio.
Jul 17 23:24:50 andromeda systemd[1721]: Closed PipeWire Multimedia System Sockets.
Jul 17 23:24:50 andromeda systemd[1721]: Stopped Create User Files and Directories.
Jul 17 23:24:50 andromeda systemd[1721]: Removed slice User Application Slice.
Jul 17 23:24:50 andromeda systemd[1721]: Reached target Shutdown.
Jul 17 23:24:50 andromeda systemd[1721]: Finished Exit the Session.
Jul 17 23:24:50 andromeda systemd[1721]: Reached target Exit the Session.
Jul 17 23:24:50 andromeda systemd[1]: user@463.service: Deactivated successfully.
Jul 17 23:24:50 andromeda systemd[1]: Stopped User Manager for UID 463.
Jul 17 23:24:50 andromeda systemd[1]: Stopping User Runtime Directory /run/user/463...
Jul 17 23:24:50 andromeda systemd[1]: run-user-463.mount: Deactivated successfully.
Jul 17 23:24:50 andromeda systemd[1]: user-runtime-dir@463.service: Deactivated successfully.
Jul 17 23:24:50 andromeda systemd[1]: Stopped User Runtime Directory /run/user/463.
Jul 17 23:24:50 andromeda systemd[1]: Removed slice User Slice of UID 463.
Jul 17 23:24:50 andromeda systemd[1]: user-463.slice: Consumed 1.014s CPU time.
Jul 17 23:24:59 andromeda systemd[1]: systemd-hostnamed.service: Deactivated successfully.

I don’t see anything suspicious :frowning:

There’s a login/logout for the sddm user (uid=463) which I guess is part of bringing up that service, and it also happens in the successful case.

What is a bit different is that in the failing case I’m brought to VT 1 (log line @2380), whereas in the successful case I’m brought to VT 3.

During the failed login attempt with the “Test” user I am also brought to VT 1, so that looks like a commonality.

No other clues, though :frowning:

(I really wish there were an alternative to SDDM…)

Thanks, but it’s doing fine with 121 out of 150 free :man_shrugging:

There is. You are free to change display-manager eg GDM.

Does the problem exist when trying to start a Plasma X11 session? Or Plasma Wayland sessions only?

1 Like

I guess it’s Plasma to have Sddm, I think Gdm brings Gnome with it, Lightdm instead installs itself not being tied to any DE, try…

sudo zypper in lightdm 

after the installation change

sudo update-alternatives --config default-displaymanager

and type the number that corresponds to lightdm > enter

It does pull in parts of Gnome, but not the whole of Gnome.

Yes, installing “lightdm” might be a better alternative.

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