SDDM tries to restart after reboot/shutdown are initiated.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SDDM |
New
|
Unknown
|
|||
sddm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When I reboot or shutdown my computer, SDDM tries to restarts itself and slows down the halting process (by about five seconds).
`journalctl -b-1 |grep sddm` gives:
pro 25 14:19:13 GreenOne sddm-helper[15321]: [PAM] Starting...
pro 25 14:19:13 GreenOne sddm-helper[15321]: [PAM] Authenticating...
pro 25 14:19:13 GreenOne sddm-helper[15321]: [PAM] Preparing to converse...
pro 25 14:19:13 GreenOne sddm-helper[15321]: [PAM] Conversation with 1 messages
pro 25 14:19:13 GreenOne sddm-helper[15322]: pam_ecryptfs: Passphrase file wrapped
pro 25 14:19:13 GreenOne sddm-helper[15321]: pam_kwallet5(
pro 25 14:19:13 GreenOne sddm-helper[15321]: [PAM] returning.
pro 25 14:19:13 GreenOne sddm[955]: Authenticated successfully
pro 25 14:19:13 GreenOne sddm-greeter[
pro 25 14:19:13 GreenOne sddm-helper[15321]: pam_kwallet5(
pro 25 14:19:13 GreenOne sddm-helper[15321]: pam_unix(
pro 25 14:19:13 GreenOne sddm-helper[15321]: pam_kwallet5(
pro 25 14:19:13 GreenOne sddm-helper[15332]: pam_kwallet5: final socket path: /run/user/
pro 25 14:19:13 GreenOne sddm-helper[15321]: Starting: "/etc/sddm/Xsession \"/usr/
pro 25 14:19:13 GreenOne sddm-helper[15334]: Adding cookie to "/home/
pro 25 14:19:13 GreenOne sddm[955]: Session started
pro 25 14:19:13 GreenOne sddm-helper[15238]: [PAM] Closing session
pro 25 14:19:13 GreenOne sddm-helper[15238]: pam_unix(
pro 25 14:19:13 GreenOne sddm-helper[15238]: [PAM] Ended.
pro 25 14:19:13 GreenOne sddm[955]: Auth: sddm-helper exited successfully
pro 25 14:19:13 GreenOne sddm[955]: Greeter stopped.
pro 25 14:20:14 GreenOne sddm[955]: Authentication error: "Process crashed"
pro 25 14:20:14 GreenOne sddm[955]: Auth: sddm-helper crashed (exit code 15)
pro 25 14:20:14 GreenOne sddm[955]: Authentication error: "Process crashed"
pro 25 14:20:14 GreenOne sddm[955]: Auth: sddm-helper exited with 15
pro 25 14:20:14 GreenOne sddm[955]: Socket server stopping...
pro 25 14:20:14 GreenOne sddm[955]: Socket server stopped.
pro 25 14:20:14 GreenOne sddm[955]: Display server stopping...
pro 25 14:20:15 GreenOne sddm[955]: Display server stopped.
pro 25 14:20:15 GreenOne sddm[955]: Running display stop script "/usr/share/
pro 25 14:20:17 GreenOne sddm[955]: Removing display ":0" ...
pro 25 14:20:17 GreenOne sddm[955]: Adding new display on vt 1 ...
pro 25 14:20:17 GreenOne sddm[955]: Loading theme configuration from ""
pro 25 14:20:17 GreenOne sddm[955]: Display server starting...
pro 25 14:20:17 GreenOne sddm[955]: Adding cookie to "/var/run/
pro 25 14:20:17 GreenOne sddm[955]: Running: /usr/bin/X -nolisten tcp -auth /var/run/
d6e} -background none -noreset -displayfd 18 -seat seat0 vt1
pro 25 14:20:18 GreenOne sddm[955]: Setting default cursor
pro 25 14:20:18 GreenOne sddm[955]: Running display setup script "/usr/share/
pro 25 14:20:21 GreenOne sddm[955]: Display server started.
pro 25 14:20:21 GreenOne sddm[955]: Socket server starting...
pro 25 14:20:21 GreenOne sddm[955]: Socket server started.
pro 25 14:20:21 GreenOne sddm[955]: Loading theme configuration from "/usr/share/
pro 25 14:20:21 GreenOne sddm[955]: Greeter starting...
pro 25 14:20:21 GreenOne sddm[955]: Signal received: SIGTERM
pro 25 14:20:21 GreenOne sddm-helper[17408]: [PAM] Starting...
pro 25 14:20:21 GreenOne sddm-helper[17408]: [PAM] Authenticating...
pro 25 14:20:21 GreenOne sddm-helper[17408]: [PAM] returning.
pro 25 14:20:21 GreenOne sddm[955]: Socket server stopping...
pro 25 14:20:21 GreenOne sddm[955]: Socket server stopped.
pro 25 14:20:21 GreenOne sddm[955]: Display server stopping...
pro 25 14:20:22 GreenOne sddm[955]: Display server stopped.
pro 25 14:20:22 GreenOne sddm[955]: Running display stop script "/usr/share/
pro 25 14:20:23 GreenOne sddm[955]: QProcess: Destroyed while process ("/usr/
l running.
pro 25 14:20:23 GreenOne systemd[1]: sddm.service: Deactivated successfully.
pro 25 14:20:23 GreenOne systemd[1]: sddm.service: Consumed 1min 43.509s CPU time.
It can be seen that the system went for shutdown at 14:20:14, got mostly shut down at 14:20:15 but then spent 8 seconds while SDDM was trying to start again.
I am on Kuubntu 21.10, I am using systemd-boot to start up my computer but this also happens to people with GRUB2 as confirmed here: https:/
A workaround was messing with /etc/systemd/
DefaultTimeoutS
DefaultTimeoutS
DefaultStartLim
Changing the restart values in /usr/lib/
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
DistroRelease: Ubuntu 21.10
EcryptfsInUse: Yes
InstallationDate: Installed on 2021-12-24 (1 days ago)
InstallationMedia: Kubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
NonfreeKernelMo
Package: sddm 0.19.0-2ubuntu2 [modified: lib/systemd/
PackageArchitec
ProcVersionSign
Tags: impish
Uname: Linux 5.13.0-22-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
Changed in sddm (Ubuntu): | |
status: | Incomplete → New |
Changed in sddm: | |
status: | Unknown → New |
I have almost identical entries in my journalctl log, but I don't have the slowness that the OP is experiencing.
Dec 25 11:29:31 barley-cat sddm[718]: Authentication error: "Process crashed" sddm/scripts/ Xstop" sddm/{4c84cd71- 7817-4c65- b807-344789cc5a b7}" sddm/{4c84cd71- 7817-4c65- b807-344789cc5a b7} -background none -noreset -displayfd 18 -seat seat0 vt1 sddm/scripts/ Xsetup" sddm/themes/ ubuntu- theme/theme. conf" sddm/scripts/ Xstop" lib/x86_ 64-linux- gnu/sddm/ sddm-helper" ) is still running.
Dec 25 11:29:31 barley-cat sddm[718]: Auth: sddm-helper crashed (exit code 15)
Dec 25 11:29:31 barley-cat sddm[718]: Authentication error: "Process crashed"
Dec 25 11:29:31 barley-cat sddm[718]: Auth: sddm-helper exited with 15
Dec 25 11:29:31 barley-cat sddm[718]: Socket server stopping...
Dec 25 11:29:31 barley-cat sddm[718]: Socket server stopped.
Dec 25 11:29:31 barley-cat sddm[718]: Display server stopping...
Dec 25 11:29:31 barley-cat sddm[718]: Display server stopped.
Dec 25 11:29:31 barley-cat sddm[718]: Running display stop script "/usr/share/
Dec 25 11:29:31 barley-cat sddm[718]: Removing display ":0" ...
Dec 25 11:29:31 barley-cat sddm[718]: Adding new display on vt 1 ...
Dec 25 11:29:31 barley-cat sddm[718]: Loading theme configuration from ""
Dec 25 11:29:31 barley-cat sddm[718]: Display server starting...
Dec 25 11:29:31 barley-cat sddm[718]: Adding cookie to "/var/run/
Dec 25 11:29:31 barley-cat sddm[718]: Running: /usr/bin/X -nolisten tcp -auth /var/run/
Dec 25 11:29:32 barley-cat sddm[718]: Setting default cursor
Dec 25 11:29:32 barley-cat sddm[718]: Running display setup script "/usr/share/
Dec 25 11:29:32 barley-cat sddm[718]: Display server started.
Dec 25 11:29:32 barley-cat sddm[718]: Socket server starting...
Dec 25 11:29:32 barley-cat sddm[718]: Socket server started.
Dec 25 11:29:32 barley-cat sddm[718]: Loading theme configuration from "/usr/share/
Dec 25 11:29:32 barley-cat sddm[718]: Greeter starting...
Dec 25 11:29:32 barley-cat sddm[718]: Signal received: SIGTERM
Dec 25 11:29:32 barley-cat sddm[718]: Socket server stopping...
Dec 25 11:29:32 barley-cat sddm[718]: Socket server stopped.
Dec 25 11:29:32 barley-cat sddm[718]: Display server stopping...
Dec 25 11:29:32 barley-cat sddm-helper[35033]: [PAM] Starting...
Dec 25 11:29:32 barley-cat sddm-helper[35033]: [PAM] Authenticating...
Dec 25 11:29:32 barley-cat sddm-helper[35033]: [PAM] returning.
Dec 25 11:29:33 barley-cat sddm[718]: Display server stopped.
Dec 25 11:29:33 barley-cat sddm[718]: Running display stop script "/usr/share/
Dec 25 11:29:33 barley-cat sddm[718]: QProcess: Destroyed while process ("/usr/
Dec 25 11:29:33 barley-cat systemd[1]: sddm.service: Deactivated successfully.
Dec 25 11:29:33 barley-cat systemd[1]: sddm.service: Consumed 4min 2.222s CPU time.
Whether it matters, I'm running Kubuntu 22.04, fully updated.