You are not logged in.

#1 2023-12-28 22:50:54

EugeneS
Member
Registered: 2023-12-19
Posts: 10

kwallet

I have recemtly installed arch via archinstall script with hyprland as a desktop.
I have turned on `Setting sync` options on VS Code, and it started to ask for keyring. And since I already had kwallet in the system from some components, I decided to move on and use it for VS Code as well.
I have encountered some issues, and was partially able to resolve them:
1. kwalletd5 won't start on loging (optimally, it should start before login, as I understand - so the login will also unlock the default wallet).
My solution currently is to manually run it with following command

nohup kwalletd5 &

, but I would rather do it in conventional way, so  the wallet will be unlocked upon entering the login password.
2. I need to start VS Code with

code . --password-store="kwallet5"

flag, which is inconvinient, since it requires me to overwrite the command to start code to vsc for example, to remove the need of manually adding the flag, and I would rather config kwallet to be the default keyring, as I think it is more correct way from system point of view.

cat /etc/pam.d/sddm
                          
#%PAM-1.0

auth        include     system-login
-auth       optional    pam_kwallet5.so

account     include     system-login
password    include     system-login

session     optional    pam_keyinit.so          force revoke
session     include     system-login
-session    optional    pam_kwallet5.so         auto_start

I have read in wiki, that following row should be added to your desktop manager to unlock kwallet on login:

exec --no-startup-id /usr/lib/pam_kwallet_init

I will really appreciate any advice.

Last edited by EugeneS (2023-12-29 16:32:45)

Offline

#2 2023-12-28 23:00:36

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,554
Website

Re: kwallet

EugeneS wrote:

I have recemtly installed arch via install script

Then please seek support from the author of the install script.

https://bbs.archlinux.org/misc.php?action=rules

Closing, for deletion.

OP clarified via email that they used archinstall rather than a third-party installer. Restoring.

Last edited by WorMzy (2023-12-28 23:37:05)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB