SDDM-helper fails to log users for complex profiles

Hi,

I’m currently experiencing quite severe troubles with a Tumbleweed install.

I can’t get most of the created user to log in (when they have loads of files in their home, it’s my development system), newly created ones actually can log, but as soon as I try to import some of the configs from the other users, it definitely fails with the following journal telling that sddm-helper has failed

Jun 14 12:45:03 linux-6bl9 sddm-greeter[4069]: Reading from "/usr/share/xsessions/plasma5.desktop"
Jun 14 12:45:03 linux-6bl9 sddm[3621]: Message received from greeter: Login
Jun 14 12:45:03 linux-6bl9 sddm[3621]: Reading from "/usr/share/xsessions/plasma5.desktop"
Jun 14 12:45:03 linux-6bl9 sddm[3621]: Session "/usr/share/xsessions/plasma5.desktop" selected, command: "/usr/bin/startkde"
Jun 14 12:45:03 linux-6bl9 sddm-helper[4111]: [PAM] Starting...
Jun 14 12:45:03 linux-6bl9 sddm-helper[4111]: [PAM] Authenticating...
Jun 14 12:45:03 linux-6bl9 sddm-helper[4111]: [PAM] Preparing to converse...
Jun 14 12:45:03 linux-6bl9 sddm-helper[4111]: [PAM] Conversation with 1 messages
Jun 14 12:45:03 linux-6bl9 audit[4111]: USER_AUTH pid=4111 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_unix acct="sca" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Jun 14 12:45:03 linux-6bl9 sddm-helper[4111]: [PAM] returning.
Jun 14 12:45:03 linux-6bl9 audit[4111]: USER_ACCT pid=4111 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_unix acct="sca" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Jun 14 12:45:03 linux-6bl9 sddm[3621]: Authenticated successfully
Jun 14 12:45:03 linux-6bl9 sddm-greeter[4069]: Message received from daemon: LoginSucceeded
Jun 14 12:45:03 linux-6bl9 sddm-helper[4067]: [PAM] Ended.
Jun 14 12:45:03 linux-6bl9 sddm[3621]: Auth: sddm-helper exited successfully
Jun 14 12:45:03 linux-6bl9 sddm[3621]: Greeter stopped.
Jun 14 12:45:03 linux-6bl9 audit[4111]: CRED_ACQ pid=4111 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_unix acct="sca" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Jun 14 12:45:03 linux-6bl9 sddm-helper[4111]: pam_unix(sddm:session): session opened for user sca by (uid=0)
Jun 14 12:45:03 linux-6bl9 audit[4111]: USER_START pid=4111 uid=0 auid=1004 ses=4 msg='op=PAM:session_open grantors=pam_loginuid,pam_limits,pam_unix,pam_umask,pam_env acct="sca" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=
Jun 14 12:45:03 linux-6bl9 sddm-helper[4111]: Starting: "/etc/X11/xdm/Xsession" "/usr/bin/startkde"
Jun 14 12:45:03 linux-6bl9 sddm-helper[4112]: Adding cookie to "/home/sca/.Xauthority"
Jun 14 12:45:03 linux-6bl9 sddm[3621]: Session started
Jun 14 12:45:03 linux-6bl9 sddm-helper[4111]: [PAM] Ended.
Jun 14 12:45:03 linux-6bl9 sddm[3621]: Auth: sddm-helper exited with 2
Jun 14 12:45:03 linux-6bl9 sddm[3621]: Socket server stopping...
Jun 14 12:45:03 linux-6bl9 sddm[3621]: Socket server stopped.
Jun 14 12:45:03 linux-6bl9 sddm[3621]: Display server stopping...
Jun 14 12:45:03 linux-6bl9 sddm[3621]: Display server stopped.
Jun 14 12:45:03 linux-6bl9 sddm[3621]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Jun 14 12:45:03 linux-6bl9 sddm[3621]: Removing display ":0" ...

Furthermore, when I get to log into a newly created user, when I try to launch programs, I often get the following messages:

bash: fork: retry: No child processes

when creating a new konsole tab

or this when launching chrome:

[1:1:0614/125654:ERROR:platform_thread_posix.cc(118)] pthread_create: Resource temporarily unavailable
[5440:5476:0614/125655:ERROR:zygote_communication_linux.cc(169)] Did not receive ping from zygote child
[5:5:0614/125655:ERROR:zygote_linux.cc(634)] Zygote could not fork: process_type renderer numfds 6 child_pid -1
[5440:5476:0614/125655:ERROR:platform_thread_posix.cc(118)] pthread_create: Ressource temporairement non disponible
[5440:5440:0614/125655:ERROR:child_process_launcher.cc(505)] Failed to launch child process

SO something seems really eerie with that system, but I don’t really have an idea about what is happenning (CPU, memory and disk space are totally fine…).
Maybe something abour file creation limit, or number of processes?

Run



pam-config --add --systemd

as root, then reboot.

Worked beautifully. Thanks a lot sir.

By the way, do you have any idea of what actually went wrong?

Bad update is now fixed

Thanks a lot.