You are not logged in.

#1 2020-02-18 08:07:48

art
Member
Registered: 2019-08-12
Posts: 63

[SOLVED] Unit 'user@975.service' (SDDM) failed.

I'm having this error in `systemctl --failed`, this unit failed to start. How to clean this? Or is it a proper behavior of SDDM? Please see output below:

[I] ➜ cat /etc/passwd | grep 975
sddm:x:975:975:Simple Desktop Display Manager:/var/lib/sddm:/usr/bin/nologin

art on  master 
[I] ➜ systemctl status user@975.service
● user@975.service - User Manager for UID 975
     Loaded: loaded (/usr/lib/systemd/system/user@.service; static; vendor preset: disabled)
     Active: failed (Result: protocol) since Tue 2020-02-18 11:02:09 MSK; 5min ago
       Docs: man:user@.service(5)
    Process: 6342 ExecStart=/usr/lib/systemd/systemd --user (code=exited, status=224/PAM)
   Main PID: 6342 (code=exited, status=224/PAM)

art on  master 
[I] ➜ journalctl _PID=6342             
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
      Pass -q to turn off this notice.
-- Logs begin at Thu 2019-10-24 03:20:09 MSK, end at Tue 2020-02-18 11:07:00 MSK. --
-- No entries --

Last edited by art (2020-02-18 14:46:43)

Offline

#2 2020-02-18 10:29:04

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Unit 'user@975.service' (SDDM) failed.

Run the journalctl command again as root to see the messages from the sddm user.

Possibly relevant: https://www.reddit.com/r/archlinux/comm … gradation/


Jin, Jîyan, Azadî

Offline

#3 2020-02-18 14:43:30

art
Member
Registered: 2019-08-12
Posts: 63

Re: [SOLVED] Unit 'user@975.service' (SDDM) failed.

@Head_on_a_Stick Thanks! Got this:

Oct 28 20:17:02 artpc systemd[1]: Starting User Manager for UID 975...
Oct 28 20:17:02 artpc systemd[856]: pam_unix(systemd-user:account): account sddm has expired (account expired)
Oct 28 20:17:02 artpc systemd[856]: PAM failed: User account has expired
Oct 28 20:17:02 artpc systemd[856]: user@975.service: Failed to set up PAM session: Operation not permitted
Oct 28 20:17:02 artpc systemd[856]: user@975.service: Failed at step PAM spawning /usr/lib/systemd/systemd: Operation not permitted
Oct 28 20:17:02 artpc systemd[1]: user@975.service: Failed with result 'protocol'.
Oct 28 20:17:02 artpc systemd[1]: Failed to start User Manager for UID 975.
Oct 28 20:30:48 artpc systemd[1]: Starting User Manager for UID 975...
Oct 28 20:30:48 artpc systemd[2316]: pam_unix(systemd-user:account): account sddm has expired (account expired)
Oct 28 20:30:48 artpc systemd[2316]: PAM failed: User account has expired
Oct 28 20:30:48 artpc systemd[2316]: user@975.service: Failed to set up PAM session: Operation not permitted
Oct 28 20:30:48 artpc systemd[2316]: user@975.service: Failed at step PAM spawning /usr/lib/systemd/systemd: Operation not permitted
Oct 28 20:30:48 artpc systemd[1]: user@975.service: Failed with result 'protocol'.
Oct 28 20:30:48 artpc systemd[1]: Failed to start User Manager for UID 975.
Oct 28 20:31:46 artpc systemd[1]: Starting User Manager for UID 975...
Oct 28 20:31:46 artpc systemd[3087]: pam_unix(systemd-user:account): account sddm has expired (account expired)
Oct 28 20:31:46 artpc systemd[3087]: PAM failed: User account has expired
Oct 28 20:31:46 artpc systemd[3087]: user@975.service: Failed to set up PAM session: Operation not permitted
Oct 28 20:31:46 artpc systemd[3087]: user@975.service: Failed at step PAM spawning /usr/lib/systemd/systemd: Operation not permitted
Oct 28 20:31:46 artpc systemd[1]: user@975.service: Failed with result 'protocol'.
Oct 28 20:31:46 artpc systemd[1]: Failed to start User Manager for UID 975.
-- Reboot --

FIXED that using `# usermod --expiredate= sddm` as at https://bbs.archlinux.org/viewtopic.php?id=249570

Last edited by art (2020-02-18 14:46:16)

Offline

Board footer

Powered by FluxBB