You are not logged in.

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

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

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: 90

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: 25
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: 90

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: 90

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

Board footer

Powered by FluxBB