Activity log for bug #1955747

Date Who What changed Old value New value Message
2021-12-25 22:06:20 TomasHnyk bug added bug
2021-12-25 22:28:09 Chris Guiver sddm (Ubuntu): status New Incomplete
2021-12-25 22:28:13 Chris Guiver bug added subscriber Chris Guiver
2021-12-25 22:52:48 TomasHnyk tags apport-collected impish
2021-12-25 22:52:49 TomasHnyk 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(sddm:auth): (null): pam_sm_authenticate 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[15251]: Message received from daemon: LoginSucceeded pro 25 14:19:13 GreenOne sddm-helper[15321]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred pro 25 14:19:13 GreenOne sddm-helper[15321]: pam_unix(sddm:session): session opened for user drew by (uid=0) pro 25 14:19:13 GreenOne sddm-helper[15321]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session pro 25 14:19:13 GreenOne sddm-helper[15332]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket pro 25 14:19:13 GreenOne sddm-helper[15321]: Starting: "/etc/sddm/Xsession \"/usr/bin/startplasma-x11\"" pro 25 14:19:13 GreenOne sddm-helper[15334]: Adding cookie to "/home/drew/.Xauthority" 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(sddm-greeter:session): session closed for user sddm 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/sddm/scripts/Xstop" 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/sddm/{0d14fc72-608b-4648-a74c-e1209ec1ed6e}" pro 25 14:20:17 GreenOne sddm[955]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{0d14fc72-608b-4648-a74c-e1209ec1e 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/sddm/scripts/Xsetup" 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/sddm/themes/ubuntu-theme/theme.conf" 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/sddm/scripts/Xstop" pro 25 14:20:23 GreenOne sddm[955]: QProcess: Destroyed while process ("/usr/lib/x86_64-linux-gnu/sddm/sddm-helper") is stil 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://www.kubuntuforums.net/forum/newbie-support/help-the-new-guy/659089-slow-shutdown?p=659107#post659107 A workaround was messing with /etc/systemd/system.con and tuning down these values: DefaultTimeoutStartSec=1s DefaultTimeoutStopSec=1s DefaultStartLimitIntervalSec=500ms Changing the restart values in /usr/lib/systemd/system/sddm.service on the other hand has not changed anything. 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(sddm:auth): (null): pam_sm_authenticate 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[15251]: Message received from daemon: LoginSucceeded pro 25 14:19:13 GreenOne sddm-helper[15321]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred pro 25 14:19:13 GreenOne sddm-helper[15321]: pam_unix(sddm:session): session opened for user drew by (uid=0) pro 25 14:19:13 GreenOne sddm-helper[15321]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session pro 25 14:19:13 GreenOne sddm-helper[15332]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket pro 25 14:19:13 GreenOne sddm-helper[15321]: Starting: "/etc/sddm/Xsession \"/usr/bin/startplasma-x11\"" pro 25 14:19:13 GreenOne sddm-helper[15334]: Adding cookie to "/home/drew/.Xauthority" 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(sddm-greeter:session): session closed for user sddm 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/sddm/scripts/Xstop" 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/sddm/{0d14fc72-608b-4648-a74c-e1209ec1ed6e}" pro 25 14:20:17 GreenOne sddm[955]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{0d14fc72-608b-4648-a74c-e1209ec1e 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/sddm/scripts/Xsetup" 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/sddm/themes/ubuntu-theme/theme.conf" 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/sddm/scripts/Xstop" pro 25 14:20:23 GreenOne sddm[955]: QProcess: Destroyed while process ("/usr/lib/x86_64-linux-gnu/sddm/sddm-helper") is stil 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://www.kubuntuforums.net/forum/newbie-support/help-the-new-guy/659089-slow-shutdown?p=659107#post659107 A workaround was messing with /etc/systemd/system.con and tuning down these values: DefaultTimeoutStartSec=1s DefaultTimeoutStopSec=1s DefaultStartLimitIntervalSec=500ms Changing the restart values in /usr/lib/systemd/system/sddm.service on the other hand has not changed anything. --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu71 Architecture: amd64 CasperMD5CheckResult: pass 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) NonfreeKernelModules: nvidia_modeset nvidia Package: sddm 0.19.0-2ubuntu2 [modified: lib/systemd/system/sddm.service] PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 5.13.0-22.22-generic 5.13.19 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
2021-12-25 22:52:50 TomasHnyk attachment added Dependencies.txt https://bugs.launchpad.net/bugs/1955747/+attachment/5549568/+files/Dependencies.txt
2021-12-25 22:52:51 TomasHnyk attachment added ProcCpuinfoMinimal.txt https://bugs.launchpad.net/bugs/1955747/+attachment/5549569/+files/ProcCpuinfoMinimal.txt
2021-12-25 22:52:52 TomasHnyk attachment added ProcEnviron.txt https://bugs.launchpad.net/bugs/1955747/+attachment/5549570/+files/ProcEnviron.txt
2021-12-25 23:06:33 Chris Guiver sddm (Ubuntu): status Incomplete New
2021-12-26 14:37:04 TomasHnyk bug watch added https://github.com/sddm/sddm/issues/1479
2021-12-26 14:37:04 TomasHnyk bug task added sddm
2021-12-26 15:34:30 Bug Watch Updater sddm: status Unknown New