You are not logged in.

#1 2016-04-05 20:29:09

peanut_0
Member
Registered: 2016-03-20
Posts: 16

[Solved?] geary // gnome-keyring issue? Can't save passwords in geary

Whenever I open up geary it asks for my password.

If I uncheck "Remember password", everything works fine. But then I have to keep putting in my password.

If I put in my password and forget to uncheck, it force quits on me.

I tried

geary --debug

and this it part of the error

(geary:2981): libnotify-WARNING **: Failed to connect to proxy
...
 [deb] 19:27:52 0.011123 secret-mediator.vala:76: Unable to fetch password in libsecret keyring for {my email address}
 [msg] 19:27:52 0.049463 imap-client-session-manager.vala:536: IMAP host {email imap}/default:993 considered reachable
...
 [msg] 19:28:03 5.535542 Remote error from secret service: org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login
 [deb] 19:28:03 0.000081 geary-controller.vala:1123: Unable to open account Other:{my email address}: No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login

So far I've checked I've installed gnome-keyring, checked folder permissions for ~/.local/share/geary/keyrings, added the relevant part from the arch wiki to my .xinitrc and tried to follow the troubleshooting section from that same wiki page.

I install seahorse, but when I try File > New > Password keyring it gives me the same error as here. So I try chmod and it still doesn't work.

I'm not on gnome.

Last edited by peanut_0 (2016-12-29 11:59:34)

Offline

#2 2016-04-14 01:56:03

0xACE
Member
Registered: 2014-09-10
Posts: 3

Re: [Solved?] geary // gnome-keyring issue? Can't save passwords in geary

Would like to add that I have the same problem.

From what I can tell so far it seems like gnome-keyring isn't properly setup on my machine. I don't have a solution at the moment and I believe that we should consult gnome-keyring mailing list...

Offline

#3 2016-04-14 21:56:06

rlees85
Member
From: Daventry, UK
Registered: 2015-04-29
Posts: 96
Website

Re: [Solved?] geary // gnome-keyring issue? Can't save passwords in geary

https://bbs.archlinux.org/viewtopic.php?id=211196

Similar and possibly related. Either very few are experiencing these problems or not many people use keyring...

I am not moaning that devs have not fixed it yet. I accept its not easy and they are busy. I have put a lot of time into trying to narrow down the bug myself to try and be helpful and got nowhere.

Offline

#4 2016-04-14 23:02:58

brittyazel
Member
From: Davis, CA
Registered: 2013-05-11
Posts: 163

Re: [Solved?] geary // gnome-keyring issue? Can't save passwords in geary

Geary is pretty unmaintained at this point unfortunately :-/ I wonder if this is a side effect of it being over a year since the last update


I don't really know what I'm doing.

Offline

#5 2016-04-15 14:41:25

0xACE
Member
Registered: 2014-09-10
Posts: 3

Re: [Solved?] geary // gnome-keyring issue? Can't save passwords in geary

brittyazel wrote:

Geary is pretty unmaintained at this point unfortunately :-/ I wonder if this is a side effect of it being over a year since the last update

The problem isn't Geary afaik. It's gnome-keyring or seahorse failing to create a keyring...

Offline

#6 2016-04-15 20:52:15

peanut_0
Member
Registered: 2016-03-20
Posts: 16

Re: [Solved?] geary // gnome-keyring issue? Can't save passwords in geary

rlees85 wrote:

Thanks for linking, but I when I do

ssh-add -l

I get my ssh key listed. Which I assume is what's meant to happen. Seahorse also manages to show OpenSSH keys and GnuPG keys. So unfortunately, I don't have the same issue they do...

Offline

#7 2016-12-29 11:58:38

peanut_0
Member
Registered: 2016-03-20
Posts: 16

Re: [Solved?] geary // gnome-keyring issue? Can't save passwords in geary

I think I've fixed the problem now (...months later).

I added the lines to pam from the wiki article. This unlocked my login keyring. However, the default keyring was still locked and this was the keyring that geary was attempting to use

I deleted the file ~/.local/share/keyrings/default, and now the (unlocked!) login keyring is the default.

I started geary and this stored in the login keyring, so it seems to have worked.

Offline

Board footer

Powered by FluxBB