Plasma 6: KWallet hangs and Dolphin SFTP fails — missing Secret Service backend?

Most definitely does seem that way from what I’m reading.

What a mess. :frowning:

I am going to leave the computer but regarding your problem, you don’t happen to have something mentioning KsecretD in your ~/home/.config/kwalletrc?
I suspected the problem with kwallet not opening have something to do with ksecretd and when I added this

[KSecretD]
Enabled=false

kwalletmanager opened blank, without buttons, it should be true or not in that file at all unless you have another secret service provider

1 Like

i have

❱cat .config/kwalletrc
[Wallet]
Close When Idle=false
Close on Screensaver=false
Default Wallet=
Enabled=true
First Use=false
Idle Timeout=10
Launch Manager=false
Leave Manager Open=false
Leave Open=true
Prompt on Open=false
Use One Wallet=true

[org.freedesktop.secrets]
apiEnabled=true

edit:-
Well, I’ve tried adding it but not sure if I’d have to restart any processes or services before it worked, but just adding that entry has not changed anything as it is.

No, that looks like it should, adding the entry would change anything.
I just played around searching for a solution and noticed I got a blank kwalletmanager when adding that entry and thought it could be related to your problem.

Mine is set to “kdewallet”. :point_down:

[Wallet]
Close When Idle=false
Close on Screensaver=false
Default Wallet=kdewallet
Enabled=true
First Use=false
Idle Timeout=10
Launch Manager=true
Leave Manager Open=false
Leave Open=true
Prompt on Open=false
Use One Wallet=true

[org.freedesktop.secrets]
apiEnabled=true

Also note this setting… :point_down:

Launch Manager=true

Yours says “false”.

Correct, mine is also kdewallet

[Wallet]
Close When Idle=false
Close on Screensaver=false
Default Wallet=kdewallet
Enabled=true
First Use=false
Idle Timeout=10
Launch Manager=false
Leave Manager Open=false
Leave Open=true
Prompt on Open=false
Use One Wallet=true

[org.freedesktop.secrets]
apiEnabled=true

I was only looking for something regarding KsecretD

Launch Manager=true

I have false on launch manager, does this not refer to what happens on startup?

1 Like

Hold up chaps, there is definataly something to this

❱cat .config/kwalletrc
[Wallet]
Close When Idle=false
Close on Screensaver=false
Default Wallet=
Enabled=true
First Use=false
Idle Timeout=10
Launch Manager=false
Leave Manager Open=false
Leave Open=true
Prompt on Open=false
Use One Wallet=true

[org.freedesktop.secrets]
apiEnabled=true

[KSecretD]
Enabled=false

After I logged out and in, I found that although I still could not access the wallet manager (still loads a blank window) , it was not hanging anymore and neither was the access to the Dolphin SFTP servers. So it’s definitely doing something right.

edit: i shall try adding the Default Wallet=kdewallet and Launch Manager=true
see what happens ^^

Than try to set a default wallet and maybe change launch manager to true.
But do you have another secret service provider?

[KSecretD]
Enabled=false

Now I have to be a dad for a while, may check in later to see how things go

As I understand it, ksecretd is only required as a shim for applications that do not understand the freedsktop.org secrets API.

ok well was worth a try but adding the Default Wallet=kdewallet and Launch Manager=true didnt enable me to access the wallet manager.

this is what my wallet gui looks like atm

I have no default (or any) wallets listed in the “Default wallet” pull-down for me to set it back to my default wallet. Also the "Launch wallet manager button has gone from the bottom.

Also there are none of my wallets listed in the access control.

I tried making a new wallet, it did allow me to do that but it never showed in the GUI , it is still blank.

But, at least i have access to my NAS back again. I do use the wallet for other things though and will need access to it at some point.

1 Like

o cool, its added a wallet manager to the tray i just noticed. Dont help me though , still opens blank

Maybe it’ll only show after logging out and back in.

I don’t have such a button either. I’m guessing it’s because the manager is already running.

That’s a start, and as I understand it, this was your main concern. So it’s good that this has been sorted now. :+1:

This may again be possible after the reboot. If not, then you can start using the new wallet as your main one, slowly migrating each application one at the time.


Did you give the new wallet a name? It won’t be able to save it if it doesn’t have a name.

Unfortunately not, as I’ve logged out and in many times since I tried creating a new wallet.

No, it was not.

yea i did , “test-wallet” of course :smiling_face_with_tear:

It seems like things are almost on it’s way.
I started looking at ksecretd because after I downgraded kwallet I didn’t have that file but upgrade to current version it was there

ksecretd is the codebase that used to be kwalletd, but now exposes only the Secret Service API and it can be replaced with any other Secret Service provider.

kwalletd will use ksecretd by default but can be configured to not depend on it but instead use any other system-provided Secret Service provider, with the following config in kwalletrc

1 Like

re your screenshot of “wallet preferences”:

under “Default wallet” nothing is selected

For me it shows: “kdewallet”.

But I have never used it and nothing is in there - mine is a pristine default installation.

1 Like

He says the menu is empty. :point_down:

2 Likes

o.k. I didn’t notice that. Thread is too long already for my current attention span.

1 Like

I really need help here. I have posted on the kde bug list 458085 – Wallet system takes about 1 minute to start but im not getting anywhere.

I have just found out that i can not even change or login to my wifi or VPN’s , it just says:-

@ Network Management =

Failed to get secrets for TP-Link_E013
No agents were available for this request.
Failed to get secrets for TP-Link_E013

Did not receive a reply. Possible causes include: the remote
application did not send a reply, the message bus security
policy blocked the reply, the reply timeout expired, or the
network connection was broken.

The system is falling apart without the wallet working, i’m afraid that i may not even be able to login to access the net at all at some point. (if it was to disconnect by accident or something).

The only option iv got is to roll back the system to a few days ago and what? never update again?

What do i do?

Does this help? :point_down:

Ok i have created the service file

❱cat ~/.local/share/dbus-1/services/org.freedesktop.secrets.service
[D-BUS Service]
Name=org.freedesktop.secrets
Exec=/usr/bin/kwalletd6

Do i have to make it executable or any specific permissions/ownership?

do i have to start or enable this service ?

and how does the .config/kwalletrc have to be set for this to attempt to work?

Thx.