30 Jul 2024 |
Pratham Patel (you can mention me) | how do I start though? | 14:57:59 |
K900 | What issue? | 14:58:15 |
Pratham Patel (you can mention me) | doesn't automatically unlock, I need to open the kdewalletmanager to unlock | 14:58:41 |
K900 | Do you have the PAM modules enabled? | 14:58:55 |
K900 | And does your wallet password match your login password? | 14:59:02 |
Pratham Patel (you can mention me) | the password's empty (for convenience's sake) but also tried with same password as my user | 14:59:05 |
K900 | Empty password will not auto-unlock, it should just do nothing | 14:59:24 |
K900 | Though it also should not require unlocking later | 14:59:34 |
Pratham Patel (you can mention me) | also yes, I have the pam modules enabled; or I think this should enable them
security.pam.services.login.kwallet.enable = true;
security.pam.services.login.kwallet.package = pkgs.kdePackages.kwallet;
| 15:00:34 |
K900 | What display manager are you using? | 15:00:52 |
mjm | are you using autologin with sddm or no? | 15:00:53 |
Pratham Patel (you can mention me) | $ cat /etc/pam.d/login
# Account management.
account required pam_unix.so # unix (order 10900)
# Authentication management.
auth optional pam_unix.so likeauth nullok # unix-early (order 11500)
auth optional /nix/store/xv5gzxvrkmsc3s6la4h81ng17wd9pzm6-kwallet-6.2.1/lib/security/pam_kwallet5.so # kwallet (order 12000)
auth sufficient pam_unix.so likeauth nullok try_first_pass # unix (order 12800)
auth required pam_deny.so # deny (order 13600)
# Password management.
password sufficient pam_unix.so nullok yescrypt # unix (order 10200)
# Session management.
session required pam_env.so conffile=/etc/pam/environment readenv=0 # env (order 10100)
session required pam_unix.so # unix (order 10200)
session required pam_loginuid.so # loginuid (order 10300)
session required /nix/store/867s43lrr9a608clcvh79h4qldkr84y7-linux-pam-1.6.1/lib/security/pam_lastlog.so silent # lastlog (order 10700)
session optional /nix/store/3qdyrj8f9wn8xk8965dkg6fgljg9n2my-systemd-255.6/lib/security/pam_systemd.so # systemd (order 12000)
session optional /nix/store/xv5gzxvrkmsc3s6la4h81ng17wd9pzm6-kwallet-6.2.1/lib/security/pam_kwallet5.so # kwallet (order 12500)
| 15:01:10 |
Pratham Patel (you can mention me) | was using with sddm but not anymore, should I give sddm a try again? | 15:01:28 |
Pratham Patel (you can mention me) | for now, logging in from the tty | 15:02:03 |
mjm | yeah i don't think it will auto-unlock if you login from tty | 15:02:44 |
Pratham Patel (you can mention me) | I had this issue even when I was using sddm, I'll try re-enabling sddm | 15:03:26 |
Pratham Patel (you can mention me) | oh forgot to mention a pretty major thing | 15:07:13 |
Pratham Patel (you can mention me) | I'm not on KDE | 15:07:19 |
Pratham Patel (you can mention me) | well was (KDE6), switched to hyprland | 15:07:30 |
mjm | you should be able to get it working if you use sddm i think | 15:07:44 |
Pratham Patel (you can mention me) | though this is a clean install, formatted a while ago so no remnants should be there, not even in $HOME | 15:07:56 |
mjm | assuming you are actually entering your password at sddm | 15:08:17 |
K900 | I'm actually not sure, there might be a user service you need to enable | 15:09:00 |
K900 | To get the handover to work | 15:09:05 |
mjm | true, idk what needs to be started to receive it | 15:09:14 |
mjm | presumably something | 15:09:30 |
Pratham Patel (you can mention me) | rebooted and logged in via sddm still no workey | 15:10:34 |
mjm | then yeah there's probably a user service that needs to be started | 15:11:02 |
Pratham Patel (you can mention me) | which one? | 15:12:52 |
mjm | i don't know | 15:13:28 |