You are not logged in.

#1 2024-09-18 17:08:31

saleem
Member
Registered: 2011-09-21
Posts: 159

[SOLVED] KDE Wallet Service

After house/home cleaning , all of a sudden kde6 woke up on my system . Each time I login to my system I get this popup window

KDE Wallet Service
The application 'kded6' has requested to open the wallet 'kdewallet'. Please enter the password for this wallet below.

I enter user password and it does not accept it , just for the sake of trying I enter root password and it is not accepted either, from my previous experience I try entering no password i.e. blank and that is not accepted either .
One more annoying issue is system keeps asking for wifi password no matter how many times I enter it and edit NetworkManager applet  and save password for wifi there and enable allow all users to connect this wifi password  keeps popping up .

@seth as per your previous answer from previous thread

I checked and wiki says to have these two lines in PAM i.e.

auth            optional        pam_kwallet5.so
session         optional        pam_kwallet5.so auto_start

I checked and my system-local-login file has following enteries

#%PAM-1.0

auth      include   system-login
account   include   system-login
password  include   system-login
session   include   system-login

Now I am wondering should I make it changed to as this?

auth            optional        pam_kwallet6.so
account         include         system-login
password        include         system-login
session         optional        pam_kwallet6.so auto_start

Additionally I disabled kdewallet subsystem from system settings but on next login it is re-enabled by itself . kwallet-pam package is installed as well. From the second link you gave me I am going to make one more change i.e. Disable KWallet permanently by

~/.config/kwalletrc
[Wallet]
Enabled=false

to see if it resolves these two issues or not.

on reboot kdewallet popup disappeared but wifi password pop is still persisting.

Last edited by saleem (2024-11-08 08:20:48)

Offline

#2 2024-09-24 19:19:40

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 468
Website

Re: [SOLVED] KDE Wallet Service

Try resetting the password: https://unix.stackexchange.com/question … d-in-linux
This will delete all your stored passwords though.

And if @seth has already answered your question, why tf did you open a new thread?


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Offline

#3 2024-09-24 20:53:33

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [SOLVED] KDE Wallet Service

https://bbs.archlinux.org/viewtopic.php?id=299467 is very generically about house $HOME cleaning.

I enter user password and it does not accept it , just for the sake of trying I enter root password and it is not accepted either, from my previous experience I try entering no password i.e. blank and that is not accepted either .

The wallets password doesn't have to match your login password - it can, and has to if you want to use the pam modules to automatically open the  wallet automatically, but generally, it can be anything.
If you don#t care about the wallet, you could delete it and create a new one. Otherwise, if you cannot remember what password you used for the wallet, you'll not be able to open it anyway.

Aaaannnd· that is actually what jl2's link explains - should have checked before lol

Offline

#4 2024-11-06 18:51:34

saleem
Member
Registered: 2011-09-21
Posts: 159

Re: [SOLVED] KDE Wallet Service

jl2 wrote:

Try resetting the password: https://unix.stackexchange.com/question … d-in-linux
This will delete all your stored passwords though.

And if @seth has already answered your question, why tf did you open a new thread?

Thanks for your reply, I read it very late , just a while back.
Sorry tf that thread was about about house $HOME cleaning as @seth mentioned . Sorry I wasted a page/space of the forum. kde6 wallet has got quiet but I have to enter wifi password every time I login to my system , don`t know why the password is not kept retained.
I am an old man , not well versed with modern internet terms , you mentioned something tf about the thread I started , not sure what it means but must be something technical ( google search did not get me any results of tf to be honest ) .

Offline

#5 2024-11-06 19:14:58

saleem
Member
Registered: 2011-09-21
Posts: 159

Re: [SOLVED] KDE Wallet Service

seth wrote:

https://bbs.archlinux.org/viewtopic.php?id=299467 is very generically about house $HOME cleaning.

I enter user password and it does not accept it , just for the sake of trying I enter root password and it is not accepted either, from my previous experience I try entering no password i.e. blank and that is not accepted either .

The wallets password doesn't have to match your login password - it can, and has to if you want to use the pam modules to automatically open the  wallet automatically, but generally, it can be anything.
If you don#t care about the wallet, you could delete it and create a new one. Otherwise, if you cannot remember what password you used for the wallet, you'll not be able to open it anyway.

Aaaannnd· that is actually what jl2's link explains - should have checked before lol

My mistake , sorry

Offline

#6 2024-11-06 19:44:26

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [SOLVED] KDE Wallet Service

The the SE link and/or #3 solve your problem?

Offline

#7 2024-11-06 20:03:53

saleem
Member
Registered: 2011-09-21
Posts: 159

Re: [SOLVED] KDE Wallet Service

seth wrote:

The the SE link and/or #3 solve your problem?

Actually I followed this link

https://www.reddit.com/r/kde/comments/a … en_though/

and the step no.1

enable the wallet with an empty password (reveals the Wi-Fi password, because the wallet will no longer be encrypted)

seems to have resolved the wifi issue at the moment. Will see on next reboot if wifi password to be inserted appears again or not.

Offline

#8 2024-11-07 17:26:41

saleem
Member
Registered: 2011-09-21
Posts: 159

Re: [SOLVED] KDE Wallet Service

Unfortunately the popup is back when I boot into system today

The application 'kded6' has requested to open the wallet 'kdewallet'. Please enter the password for this wallet below.

And networkmanager applet is asking for wifi password as usual.

If I disable 'kdewallet' from setting the wallet demand for password disappears but wireless connection password is still demanded . Entering no password ( leaving it blank ) does not work , I have to enter user password every time if I enable kdewallet. So I am stuck in a vicious cycle which I am unable to break.

Offline

#9 2024-11-07 17:43:29

saleem
Member
Registered: 2011-09-21
Posts: 159

Re: [SOLVED] KDE Wallet Service

Followed these commands from the link shared by @jl2

cd $HOME/.local/share/kwalletd/ 
BACKUP_DATE=$(date +\%Y_%m_%d__%H_%M_%S)
mv kdewallet.kwl "kdewallet.kwl-${BACKUP_DATE}.bak"
mv kdewallet.salt "kdewallet.salt-${BACKUP_DATE}.bak"

Next it asks for creating a new wallet ( how to create it ? ) and what if I don`t want/create any wallet? I would rather not have it but if that`s possible

Edit : disabled kde wallet as per wiki

Disable KWallet
In case you want to permanently disable kwallet:
~/.config/kwalletrc
[Wallet]
Enabled=false

Last edited by saleem (2024-11-07 17:50:42)

Offline

#10 2024-11-07 18:42:39

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [SOLVED] KDE Wallet Service

Ok, so you're not using kwallet anyway? Do you use another keyring provider?
Is there still an open problem?

Offline

#11 2024-11-07 20:16:47

saleem
Member
Registered: 2011-09-21
Posts: 159

Re: [SOLVED] KDE Wallet Service

seth wrote:

Ok, so you're not using kwallet anyway? Do you use another keyring provider?
Is there still an open problem?


Do you use another keyring provider? No
Is there still an open problem? Yes

Just to check , on reboot networkmanager applet in taskbar as usual demanded for wifi password , I am lost why it can not keep it saved ? May be if I do it via sudo nmtui it might store wifi password ?

Offline

#12 2024-11-07 20:27:26

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [SOLVED] KDE Wallet Service

May be if I do it via sudo nmtui it might store wifi password ?

No.

Is kwallet still running after the login?
If you don't intend to use kwallet, either uninstall it or maks the service.
It's probably activated by /usr/share/dbus-1/services/org.kde.kwalletd6.service
https://wiki.archlinux.org/title/KDE_Wa … activation
https://wiki.archlinux.org/title/D-Bus# … us_service

Offline

#13 2024-11-07 21:11:10

saleem
Member
Registered: 2011-09-21
Posts: 159

Re: [SOLVED] KDE Wallet Service

seth wrote:

May be if I do it via sudo nmtui it might store wifi password ?

No.

Is kwallet still running after the login?
If you don't intend to use kwallet, either uninstall it or maks the service.
It's probably activated by /usr/share/dbus-1/services/org.kde.kwalletd6.service
https://wiki.archlinux.org/title/KDE_Wa … activation
https://wiki.archlinux.org/title/D-Bus# … us_service

Is kwallet still running after the login? No it has disappeared from the scene.
I will uninstall it , its a headache for me . No I did not even when I thought first to do so . So I did this

$ cp /usr/share/dbus-1/services/org.kde.kwalletd6.service ~/.local/share/dbus-1/services
[saleem@home-pc ~]$ sed 's|^Exec=.*|Exec=/bin/false|' ~/.local/share/dbus-1/services/org.kde.kwalletd6.service
[D-BUS Service]
Name=org.kde.kwalletd6
Exec=/bin/false

Now the file "' ~/.local/share/dbus-1/services/org.kde.kwalletd6.service" has these contents

[D-BUS Service]
Name=org.kde.kwalletd6
Exec=/bin/false

Will check on next reboot what happens.

Offline

#14 2024-11-07 21:16:33

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [SOLVED] KDE Wallet Service

Absent any keyring manager, NM will store the wifi passwords as plain text in some config file.
You probably had to provide them once again to actually store them, but should™ not have to thereafter.

Offline

#15 2024-11-08 07:27:24

saleem
Member
Registered: 2011-09-21
Posts: 159

Re: [SOLVED] KDE Wallet Service

ok this is getting interesting!
no more kdewallet popoup . no more wifi password demand popup but I only see a Networks icon in taskbar , when I click on it it tells me

Sorry there was an error loading networks
file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/main.qml:11:1: Cannot load library /usr/lib/qt6/qml/org/kde/plasma/networkmanagement/libplasmanm_internalplugin.so: libKF6Wallet.so.6: cannot open shared object file: No such file or directory

I installed kwallet  kwalletmanager and wifi password popup re-emerged immediately. entered password . will reboot to check what happens now.

OKay on reboot the nasty wifi password popup re-emerged !

I am lost what latest version of kde/plasma is doing to me , may be I do " Removing everything but essential packages" and reinstall plasma?

Extremely weird
but following step fixed the issue

  Adding Restrict to device (AC:81:12:A1:2F:CA) in wifi and networking

Adding this line to the /etc/NetworkManager/NetworkManager.conf
[device]
wifi.scan-rand-mac-address=no

Last edited by saleem (2024-11-08 08:20:11)

Offline

#16 2024-11-08 08:46:15

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [SOLVED] KDE Wallet Service

As long as kwallet is there and starts, NM will likely try to use if as pasword storage, resulting in whatever issues kwallet has (have you tried to configure it to automatically open the default wallet via pam)?
https://wiki.archlinux.org/title/Networ … KDE_Wallet

click on a network connection, in the General configuration tab, untick All users may connect to this network

Offline

Board footer

Powered by FluxBB