Trying to figure out errors found in journal

I randomly have issues when I reboot the computer (it stays on the BIOS image before the real reboot) so I looked in my journal to try to find the issue. Apparently my reboot error might be linked to sddm-helper, crashing after I click the reboot button.

........
févr. 28 12:37:34 omano-nvme systemd-logind[493]: System is rebooting.
Authentication error: "Process crashed"
Auth: sddm-helper crashed (exit code 15)
févr. 28 12:37:34 omano-nvme sddm[518]: Authentication error: "Process crashed"
févr. 28 12:37:34 omano-nvme sddm[518]: Auth: sddm-helper exited with 15
........

I also noticed this error with command journalctl -p 3 -xb:

févr. 28 13:51:14 omano-nvme systemd[750]: pam_env(systemd-user:session): Unrecognized Option: 
                                             - ignoring line
févr. 28 13:51:14 omano-nvme sddm-helper[748]: pam_env(sddm-autologin:session): Unrecognized Option: 
                                                 - ignoring line

Does someone have an idea how I can troubleshoot these errors, where I could look, what I could try?

It’s good place to start :wink:

1 Like

I already looked in google for the errors but did not find relevant help. I don’t have issue to login, and the computer most of times shutdowns correctly, or reboot correctly. It just sometimes randomly hangs on reboot after it quits the desktop, it stays on the BIOS logo instead of rebooting.

For now the most relevant log I found:

[omano@omano-nvme ~]$ 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 Sun 2021-02-28 13:51:11 CET; 3h 31min ago
       Docs: man:sddm(1)
             man:sddm.conf(5)
   Main PID: 536 (sddm)
      Tasks: 3 (limit: 19119)
     Memory: 139.4M
     CGroup: /system.slice/sddm.service
             ├─536 /usr/bin/sddm
             └─555 /usr/lib/Xorg -nolisten tcp -background none -seat seat0 vt1 -auth /var/run/sddm/{bc8c6b74-72fe-4cff-9c50-3b731fa94df7} -noreset -displayfd 17

févr. 28 13:51:14 omano-nvme sddm-helper[748]: gkr-pam: no password is available for user
févr. 28 13:51:14 omano-nvme sddm-helper[748]: pam_kwallet5(sddm-autologin:auth): pam_kwallet5: Couldn't get password (it is empty)
févr. 28 13:51:14 omano-nvme sddm-helper[748]: pam_env(sddm-autologin:session): Unrecognized Option: 
                                                 - ignoring line

Not sure where to go now, I don’t find relevant results from these gkr-pam or pam_kwallet5 or pam_env errors, as I don’t have autologin errors (my user auto login when computer starts).

//EDIT: The reference I find for gkr-pam are Gnome related, I have a KDE desktop and never installed Gnome, that I don’t understand.

//EDIT2: I tried to disable/enable Kwallet, reset the password, still same issue in SDDM service log.

//EDIT3: here is the content of my sddm-autologin file

#%PAM-1.0
auth        required    pam_env.so
auth        required    pam_faillock.so preauth
auth        required    pam_shells.so
auth        required    pam_nologin.so
auth        required    pam_permit.so
-auth       optional    pam_gnome_keyring.so
-auth       optional    pam_kwallet5.so
account     include     system-local-login
password    include     system-local-login
session     include     system-local-login
-session    optional    pam_gnome_keyring.so auto_start
-session    optional    pam_kwallet5.so auto_start

Still looking for help to troubleshoot this issue I see in journal:

[omano@omano-nvme ~]$ sudo journalctl -p 3 -xb
-- Journal begins at Fri 2021-03-12 05:53:23 CET, ends at Mon 2021-04-19 21:45:08 CEST. --
avril 19 06:45:44 omano-nvme kernel: 
avril 19 06:45:48 omano-nvme systemd[943]: pam_env(systemd-user:session): Unrecognized Option: 
                                            - ignoring line
avril 19 06:45:48 omano-nvme sddm-helper[941]: pam_env(sddm-autologin:session): Unrecognized Option: 
                                                - ignoring line

I tried to disable auto login but same issue. I can’t find where the issue lies, would appreciate input from someone who has an idea where to look.

I installed Manjaro in a VM and by default this error isn’t there. I tried to compare the pam_env config files (in etc or in user home) and I don’t see a difference.

OK I found the culprit. Environment variables set to enable proper hardware acceleration in Firefox long time ago, I removed the file setting these variables (to fix another issue in Firefox 88) and no more errors in journal.

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