The $HOME permissions are off, only root has full access and if "justyna" isn't in the "users" group, she can't even enter it.
chown it to "justyna:users" and probably withdraw the group permissions.
[ad4ms3@archlinux ~]$ ls -ls /home
total 15172
4 drwxr-x--- 8 root users 4096 Jun 29 23:47 Justyna
0 lrwxrwxrwx 1 root root 13 Jun 30 07:10 Jusyna -> /home/Justyna
The other files are journalctl.txt and lost+found folder
[ad4ms3@archlinux ~]$ getent passwd justyna
justyna:x:1001:1003::/home/Jusyna:/bin/bash
There is name misspelled, but I have already changed path home folder last night, and made sure that /bin/bash is correct. The output usermod -s /bin/bash justyna says 'no changes' I dont know does it still shows /home/Jusyna:/bin/bash..
]]>drwxr-xr-x 5 ad4ms3 home 4096 Jun 29 23:02 .
Edit:
The ls is for
ls -ls /home
Edit2:
What is the home group used for and why are ad4ms and justyna not members of it but /home is set to use that for group membership?
Edit3:
How did you create the user justnya? What is the output of the following?
getent passwd justnya
justnya is not the same as Justnya on case sensitive filesystems.
]]>For the first time I have managed to install Arch in the UEFI mode following wiki. Everything works perfectly fine apart... being unable to log in with my daughter's credentials. I set her a new account and every time I try to log to her account, I can't.
Journalctl:
un 29 23:01:49 archlinux systemd[1398]: Startup finished in 47ms.
Jun 29 23:01:49 archlinux systemd[1]: Started User Manager for UID 1001.
Jun 29 23:01:49 archlinux audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1001 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 29 23:01:49 archlinux systemd[1]: Started Session 11 of user justyna.
Jun 29 23:01:49 archlinux sddm-helper[1396]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Jun 29 23:01:49 archlinux audit[1396]: USER_START pid=1396 uid=0 auid=1001 ses=11 msg='op=PAM:session_open grantors=pam_keyinit,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="justyna" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=:0 res=success'
Jun 29 23:01:49 archlinux sddm-helper[1396]: pam_kwallet5-kwalletd: user home folder does not exist
Jun 29 23:01:49 archlinux sddm-helper[1396]: Starting: "/usr/share/sddm/scripts/Xsession \"/usr/bin/startplasma-x11\""
Jun 29 23:01:49 archlinux sddm-helper[1396]: pam_kwallet5(sddm:session): pam_kwallet5: Fail into creating the hash
Jun 29 23:01:49 archlinux sddm-helper[1404]: chdir( /home/justyna ) failed for user: "justyna"
Jun 29 23:01:49 archlinux sddm-helper[1404]: verify directory exist and has sufficient permissions
Jun 29 23:01:49 archlinux audit[1396]: USER_END pid=1396 uid=0 auid=1001 ses=11 msg='op=PAM:session_close grantors=pam_keyinit,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="justyna" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=:0 res=success'
Jun 29 23:01:49 archlinux audit[1396]: CRED_DISP pid=1396 uid=0 auid=1001 ses=11 msg='op=PAM:setcred grantors=pam_tally2,pam_shells,pam_unix,pam_permit acct="justyna" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=:0 res=success'
Jun 29 23:01:49 archlinux sddm[1302]: Session started
Jun 29 23:01:49 archlinux sddm-helper[1396]: pam_unix(sddm:session): session closed for user justyna
Jun 29 23:01:49 archlinux sddm-helper[1396]: [PAM] Closing session
Jun 29 23:01:49 archlinux sddm-helper[1396]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
Jun 29 23:01:49 archlinux sddm-helper[1396]: [PAM] Ended.
Jun 29 23:01:49 archlinux sddm-helper[1396]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Jun 29 23:01:49 archlinux sddm[1302]: Auth: sddm-helper exited with 3
Jun 29 23:01:49 archlinux sddm[1302]: Socket server stopping...
Jun 29 23:01:49 archlinux sddm[1302]: Socket server stopped.
Jun 29 23:01:49 archlinux sddm[1302]: Display server stopping...
Jun 29 23:01:49 archlinux systemd-logind[344]: Session 11 logged out. Waiting for processes to exit.
Jun 29 23:01:49 archlinux systemd[1]: session-11.scope: Succeeded.
Jun 29 23:01:49 archlinux systemd-logind[344]: Removed session 11.
Jun 29 23:01:49 archlinux sddm[1302]: Display server stopped.
Jun 29 23:01:49 archlinux sddm[1302]: Running display stop script "/usr/share/sddm/scripts/Xstop"
Jun 29 23:01:49 archlinux sddm[1302]: Removing display ":0" ...
Jun 29 23:01:49 archlinux sddm[1302]: Adding new display on vt 1 ...
Jun 29 23:01:49 archlinux sddm[1302]: Loading theme configuration from ""
Jun 29 23:01:49 archlinux sddm[1302]: Display server starting...
Jun 29 23:01:49 archlinux sddm[1302]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{e86cb67c-8d30-491b-92ca-63727e099075} -background none -noreset -displayfd 18 -seat seat0 vt1
Jun 29 23:01:50 archlinux sddm[1302]: Setting default cursor
Jun 29 23:01:50 archlinux sddm[1302]: Running display setup script "/usr/share/sddm/scripts/Xsetup"
Jun 29 23:01:50 archlinux sddm[1302]: Display server started.
Jun 29 23:01:50 archlinux sddm[1302]: Socket server starting...
Jun 29 23:01:50 archlinux sddm[1302]: Socket server started.
Jun 29 23:01:50 archlinux sddm[1302]: Loading theme configuration from ""
Jun 29 23:01:50 archlinux sddm[1302]: Greeter starting...
Jun 29 23:01:50 archlinux sddm[1302]: Adding cookie to "/var/run/sddm/{e86cb67c-8d30-491b-92ca-63727e099075}"
Jun 29 23:01:50 archlinux sddm-helper[1418]: [PAM] Starting...
Jun 29 23:01:50 archlinux audit[1418]: USER_AUTH pid=1418 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Jun 29 23:01:50 archlinux audit[1418]: USER_ACCT pid=1418 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Jun 29 23:01:50 archlinux audit[1418]: CRED_ACQ pid=1418 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Jun 29 23:01:50 archlinux sddm-helper[1418]: [PAM] Authenticating...
Jun 29 23:01:50 archlinux sddm-helper[1418]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
Jun 29 23:01:50 archlinux sddm-helper[1418]: [PAM] returning.
Jun 29 23:01:50 archlinux systemd-logind[344]: New session c6 of user sddm.
So, it works for me, but I does not for her...
I know, that problem lays here:
Jun 29 23:01:49 archlinux sddm-helper[1404]: chdir( /home/justyna ) failed for user: "justyna"
Jun 29 23:01:49 archlinux sddm-helper[1404]: verify directory exist and has sufficient permissions
Jun 29 23:01:49 archlinux audit[1396]: USER_END pid=1396 uid=0 auid=1001 ses=11 msg='op=PAM:session_close grantors=pam_keyinit,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="justyna" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=:0 res=success'
Jun 29 23:01:49 archlinux audit[1396]: CRED_DISP pid=1396 uid=0 auid=1001 ses=11 msg='op=PAM:setcred grantors=pam_tally2,pam_shells,pam_unix,pam_permit acct="justyna" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=:0 res=success'
Jun 29 23:01:49 archlinux sddm[1302]: Session started
Jun 29 23:01:49 archlinux sddm-helper[1396]: pam_unix(sddm:session): session closed for user justyna
Jun 29 23:01:49 archlinux sddm-helper[1396]: [PAM] Closing session
ls -la:
drwxr-xr-x 5 ad4ms3 home 4096 Jun 29 23:02 .
drwxr-xr-x 17 root root 4096 Jun 25 11:24 ..
drwxrwxr-x 2 justyna home 4096 Jun 29 21:41 Justyna
drwxrwx--- 8 ad4ms3 home 4096 Jun 29 23:22 ad4ms3
[ad4ms3@archlinux ~]$ groups justyna
justyna
[ad4ms3@archlinux ~]$ groups ad4ms3
wheel sudo ad4ms3
fresh copy of .xinitrc present in the folder.
Every help appreciated. Thanks a lot.
]]>