You are not logged in.

#1 2020-06-09 17:04:07

zpg443
Member
Registered: 2016-12-03
Posts: 271

Using KDE, sddm-helper crashed (exit code 15) during shutdown

Dual monitor set up using KDE as the DE. Shutdown completes, but not before generating this in the journal each time.

journalctl -b -1

Jun 09 10:35:11 archmain systemd-logind[511]: System is powering down.
Jun 09 10:35:11 archmain sddm[550]: Authentication error: "Process crashed"
Jun 09 10:35:11 archmain sddm[550]: Auth: sddm-helper crashed (exit code 15)
Jun 09 10:35:11 archmain sddm[550]: Authentication error: "Process crashed"
Jun 09 10:35:11 archmain sddm[550]: Auth: sddm-helper exited with 15
Jun 09 10:35:11 archmain sddm[550]: Socket server stopping...
Jun 09 10:35:11 archmain sddm[550]: Socket server stopped.
Jun 09 10:35:11 archmain sddm[550]: Display server stopping...
Jun 09 10:35:11 archmain kdeinit5[702]: kdeinit5: Fatal IO error: client killed
Jun 09 10:35:11 archmain kdeinit5[702]: kdeinit5: sending SIGHUP to children.
Jun 09 10:35:11 archmain kdeconnectd[19248]: The X11 connection broke (error 1). Did the X11 server die?
Jun 09 10:35:11 archmain at-spi-bus-launcher[983]: X connection to :0 broken (explicit kill or server shutdown).
Jun 09 10:35:11 archmain kscreen_backend_launcher[930]: The X11 connection broke (error 1). Did the X11 server die?
Jun 09 10:35:11 archmain kactivitymanagerd[857]: The X11 connection broke (error 1). Did the X11 server die?
Jun 09 10:35:11 archmain kdeinit5[702]: kdeinit5: sending SIGTERM to children.
Jun 09 10:35:11 archmain kdeinit5[702]: kdeinit5: Exit.
Jun 09 10:35:11 archmain kglobalaccel5[734]: The X11 connection broke (error 1). Did the X11 server die?
Jun 09 10:35:11 archmain kded5[715]: Service  "org.kde.StatusNotifierItem-838-1" unregistered
Jun 09 10:35:11 archmain kded5[715]: The X11 connection broke: I/O error (code 1)

Configuration does not appear to be an issue.

/etc/sddm.conf

[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=/usr/bin/systemctl poweroff
InputMethod=
Numlock=none
RebootCommand=/usr/bin/systemctl reboot

[Theme]
Current=maldives
CursorTheme=Adwaita
DisableAvatarsThreshold=3
EnableAvatars=true
FacesDir=/usr/share/sddm/faces
ThemeDir=/usr/share/sddm/themes

[Users]
MaximumUid=65000
MinimumUid=1000
RememberLastSession=false
RememberLastUser=true
ReuseSession=false

[Wayland]
EnableHiDPI=true
SessionCommand=/usr/share/sddm/scripts/wayland-session
SessionDir=/usr/share/wayland-sessions
SessionLogFile=.local/share/sddm/wayland-session.log

[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
EnableHiDPI=true
MinimumVT=1
ServerArguments=-nolisten tcp
ServerPath=/usr/bin/X
SessionCommand=/usr/share/sddm/scripts/Xsession
SessionDir=/usr/share/xsessions
SessionLogFile=.local/share/sddm/xorg-session.log
UserAuthFile=.Xauthority
XauthPath=/usr/bin/xauth
XephyrPath=/usr/bin/Xephyr

No issues with login, either.

systemctl status sddm.service

● sddm.service - Simple Desktop Display Manager
     Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; vendor preset: disabled)
     Active: active (running) since Tue 2020-06-09 10:35:44 CDT; 52min ago
       Docs: man:sddm(1)
             man:sddm.conf(5)
   Main PID: 539 (sddm)
      Tasks: 15 (limit: 18831)
     Memory: 235.3M
     CGroup: /system.slice/sddm.service
             ├─539 /usr/bin/sddm
             ├─548 /usr/lib/Xorg -nolisten tcp -auth /var/run/sddm/{c540b563-4246-42af-b494-183a35e16bb9} -background none -noreset -displayfd 17 -seat seat0 vt1
             └─660 /usr/bin/kwalletd5 --pam-login 7 3

Jun 09 10:35:50 archmain sddm[539]: Auth: sddm-helper exited successfully
Jun 09 10:35:50 archmain sddm[539]: Greeter stopped.
Jun 09 10:35:50 archmain sddm-helper[659]: pam_kwallet5: final socket path: /tmp/kwallet5_xxxxx.socket
Jun 09 10:35:50 archmain sddm-helper[656]: pam_unix(sddm:session): session opened for user xxxxx by (uid=0)
Jun 09 10:35:50 archmain sddm-helper[656]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Jun 09 10:35:50 archmain sddm-helper[656]: Starting: "/usr/share/sddm/scripts/Xsession \"/usr/bin/startplasma-x11\""
Jun 09 10:35:50 archmain sddm[539]: Session started

Is there something resembling a troubleshooting guide or workaround for sddm or sddm-helper? I plan to submit a github ticket for sddm, but not before checking here first.

Last edited by zpg443 (2020-06-09 17:36:04)

Offline

#2 2020-06-10 15:05:53

zpg443
Member
Registered: 2016-12-03
Posts: 271

Re: Using KDE, sddm-helper crashed (exit code 15) during shutdown

Offline

#3 2020-06-14 15:58:50

iyanmv
Member
Registered: 2016-11-08
Posts: 39
Website

Re: Using KDE, sddm-helper crashed (exit code 15) during shutdown

Yeah, same problem here. But I don't think is a SSDM bug but Plasma related. Check this bug: https://bugs.kde.org/show_bug.cgi?id=422870

Offline

#4 2020-06-27 15:41:10

zpg443
Member
Registered: 2016-12-03
Posts: 271

Re: Using KDE, sddm-helper crashed (exit code 15) during shutdown

iyanmv wrote:

Yeah, same problem here. But I don't think is a SSDM bug but Plasma related. Check this bug: https://bugs.kde.org/show_bug.cgi?id=422870

Not the same bug, which is "Reboot and shutdown result in logout". In this case, sddm-helper crashed (exit code 15). It does not force just logout. It completes shutdown or reboot, but with errors.

Opened a new report on the KDE forum:

https://forum.kde.org/viewtopic.php?f=289&t=166770

Offline

#5 2020-07-05 13:17:15

zpg443
Member
Registered: 2016-12-03
Posts: 271

Re: Using KDE, sddm-helper crashed (exit code 15) during shutdown

It is not likely KDE-related. Error reproduced when starting sddm-greeter, then shutting down without launching plasma.

According to Vogtinator at github,

"It seems like systemd sends SIGTERM to sddm-helper or sddm-greeter instead of terminating the service. "

Not sure what systemd configuration would be doing this.

Offline

#6 2020-08-24 22:19:27

birdflesh
Member
From: Greece
Registered: 2010-08-04
Posts: 97

Re: Using KDE, sddm-helper crashed (exit code 15) during shutdown

Did you manage to find more information about this? Same problem on my system too.

Offline

#7 2020-10-09 13:26:58

zpg443
Member
Registered: 2016-12-03
Posts: 271

Re: Using KDE, sddm-helper crashed (exit code 15) during shutdown

This sddm issue still has not been resolved to my knowledge.

Offline

#8 2023-06-26 05:31:05

LRitzdorf
Member
Registered: 2022-12-08
Posts: 12

Re: Using KDE, sddm-helper crashed (exit code 15) during shutdown

I'm encountering what appears to be a similar issue on my system, using i3 and sddm. I notice it occurring when I attempt to log out using "loginctl terminate-session" (or rather, when I use jluttine's Rofi Power Menu to log out), but see nearly identical logs from sddm.service. "i3-msg exit", however, works normally.

Given these differences, it seems that there might be an issue with the way loginctl interacts with some DEs/WMs? This is a wild guess, as I have no experience with those sorts of interactions. However, if KDE's shutdown process includes using loginctl to end sessions, this could be the source of the OP's issue.

Offline

#9 2023-06-26 06:47:03

seth
Member
Registered: 2012-09-03
Posts: 49,986

Re: Using KDE, sddm-helper crashed (exit code 15) during shutdown

This was a long standing problem w/ SDDM and the common suggestion to use sddm-git, but SDDM has just™ been updated to 0.20, does the problem still exist w/ that version?

Offline

#10 2023-06-27 17:45:29

LRitzdorf
Member
Registered: 2022-12-08
Posts: 12

Re: Using KDE, sddm-helper crashed (exit code 15) during shutdown

It does appear to, yes. I received the update on 2023-06-24, just before noticing this issue.
Also, this being an issue with SDDM makes sense — I'd also tested with Awesome and Openbox, which exhibit the same behavior as i3 in this case.

Offline

#11 2023-06-27 18:43:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Using KDE, sddm-helper crashed (exit code 15) during shutdown

Did you notice this issue "again" before or after having rebooted? Do you notice it now/later today when shutting down? If you noticed it on the same boot you got the update the old sddm will have still been running. The long standing issue should™ be fixed by the current version assuming it's actively running one. (FWIW I did used to use sddm-git due to a similar issue and the problem didn't reappear when switching to 0.20)

Offline

#12 2023-06-27 18:49:27

LRitzdorf
Member
Registered: 2022-12-08
Posts: 12

Re: Using KDE, sddm-helper crashed (exit code 15) during shutdown

Just to clarify, my issue appears similar to the OP's, but doesn't manifest (that I've seen) on shutdown. Perhaps it deserves a new thread?

I'm encountering what appears to be a similar issue on my system, using i3 and sddm. I notice it occurring when I attempt to log out using "loginctl terminate-session" (or rather, when I use jluttine's Rofi Power Menu to log out), but see nearly identical logs from sddm.service. "i3-msg exit", however, works normally.

Also, yes, I'm certain that I'm running SDDM 0.20. I had rebooted my system after updating, and also tested again today on a clean boot.

Last edited by LRitzdorf (2023-06-27 18:50:53)

Offline

#13 2023-06-27 19:09:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Using KDE, sddm-helper crashed (exit code 15) during shutdown

Probably yes on the new thread part, please include a journal when it happens, i.e.

sudo journalctl -b

if you can reproduce on the currently active boot

Offline

#14 2023-11-04 17:46:45

Potomac
Member
Registered: 2011-12-25
Posts: 526

Re: Using KDE, sddm-helper crashed (exit code 15) during shutdown

I have also a crash on shutdown for sddm-helper :

nov. 04 18:37:31 archlinux sddm-helper[507]: Signal received: SIGTERM
nov. 04 18:37:31 archlinux systemd[1]: Stopping Session 2 of User potomac...
nov. 04 18:37:31 archlinux systemd[510]: Stopped Xdg Desktop Portal For KDE.
nov. 04 18:37:31 archlinux systemd[510]: Stopped sandboxed app permission store.
nov. 04 18:37:31 archlinux sddm[388]: Authentication error: SDDM::Auth::ERROR_INTERNAL "Process crashed"
nov. 04 18:37:31 archlinux sddm[388]: Auth: sddm-helper (--socket /tmp/sddm-auth-8a407bcd-96be-4d43-abb7-a8805df1f3be --id 1 --start /usr/bin/startplasma->
nov. 04 18:37:31 archlinux sddm[388]: Authentication error: SDDM::Auth::ERROR_INTERNAL "Process crashed"
nov. 04 18:37:31 archlinux sddm[388]: Auth: sddm-helper exited with 1

It seems that the bug is still not solved.

Last edited by Potomac (2023-11-04 17:50:39)

Offline

Board footer

Powered by FluxBB