KDE Wallet doesn't open when logging in via tty

Hi everyone,

I’m launching KDE Plasma manually from tty1 after login using a startw function in my .bashrc:

startw() {
/usr/lib/pam_kwallet_init
/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland
}

However, KDE Wallet does not unlock/open automatically after starting Plasma.

Here is my /etc/pam.d/login configuration:

#%PAM-1.0

auth       optional     pam_kwallet5.so
session    optional     pam_kwallet5.so auto_start force_run kwalletd=/usr/bin/ksecretd
auth       requisite    pam_nologin.so
auth       include      system-local-login
account    include      system-local-login
session    include      system-local-login
password   include      system-local-login

I’m using Artix Linux without systemd.

Is there something missing in my PAM configuration or in the way I’m starting Plasma from tty?

Any help would be appreciated.

i just updated system and problem was solved