Re: [Evolution] evolutio forgets my passwords every start
On Fri, 2012-03-09 at 19:32 -0430, Patrick O'Callaghan wrote: $ env|grep GNOME GNOME_KEYRING_CONTROL=/tmp/keyring-JmCobi GNOME_KEYRING_PID=2040 However neither PID 2040, nor file /tmp/keyring-JmCobi exist (a bunch of other /tmp/keyring* files do exist). This looks like it's worth investigating so I'll get on to it when I have more time. Following up to myself: I've had to use FVWM due to unrelated problems with KDE, and the password stuff works perfectly. The correct PID and temp file are noted in GNOME_KEYRING_PID and GNOME_KEYRING_CONTROL and Evo doesn't ask me for anything. Definitely looking like a KDE bug. I'll pursue when I get KDE working again. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
Hi Patrick, I've been following this thread, but only a little bit. So let me apologize if this ignores something you've explained. I suspect I am seeing some of the same difficulties that you are. Actually, nothing related to Evolution or KDE (my box can't inhibit auto-suspending under Enlightenment). Though - I do, only sometimes, get prompted to reenter my passwords for Evolution. Anyhow - here's some things I have discovered that might help: 1) gnome-session is a crucial piece of the puzzle. It starts up a whole bunch of things in the correct order so all of this freedesktop.org nonsense works. Rather than being a script like most Xsessions, it's a binary executable. I can't find any documentation which explain what key tasks it is doing, and I haven't looked at the source. 2) Minimal window managers like FVWM typically get installed with Xsessions which instruct GDM to handle session management. AFAICT, this uses gnome-session to start FVWM. This way, all the fdo stuff gets started, and then the other WM is run instead of Gnome. 3) Hacking up session files to run Enlightenment via gnome-session isn't enough to fix the problem. So I think there still some piece of the puzzle I'm missing. 4) Looking at pstree under Gnome and under Enlightenment hasn't shed much light on the situation. I can't see any processes that are missing. I am, at this point, confident that if I could convince gnome-session to start correctly, my issues would be fixed. KDE probably has something similar to gnome-session, and I bet figuring out how to make that do what you want is the key here too. Ross On Sat, 2012-03-10 at 11:31 -0430, Patrick O'Callaghan wrote: On Fri, 2012-03-09 at 19:32 -0430, Patrick O'Callaghan wrote: $ env|grep GNOME GNOME_KEYRING_CONTROL=/tmp/keyring-JmCobi GNOME_KEYRING_PID=2040 However neither PID 2040, nor file /tmp/keyring-JmCobi exist (a bunch of other /tmp/keyring* files do exist). This looks like it's worth investigating so I'll get on to it when I have more time. Following up to myself: I've had to use FVWM due to unrelated problems with KDE, and the password stuff works perfectly. The correct PID and temp file are noted in GNOME_KEYRING_PID and GNOME_KEYRING_CONTROL and Evo doesn't ask me for anything. Definitely looking like a KDE bug. I'll pursue when I get KDE working again. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list signature.asc Description: This is a digitally signed message part ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
Quoting Ross Vandegrift r...@kallisti.us: I've been following this thread, but only a little bit. So let me apologize if this ignores something you've explained. ... I am, at this point, confident that if I could convince gnome-session to start correctly, my issues would be fixed. KDE probably has something similar to gnome-session, and I bet figuring out how to make that do what you want is the key here too. It is the interplay of the keyring and PAM that is the issue; it has been described in pretty good detail earlier in his thread. In fact, this thread is one of the best explanations I've seen of what is going on 'under the hood' ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Sat, 2012-03-10 at 14:21 -0500, Ross Vandegrift wrote: 2) Minimal window managers like FVWM typically get installed with Xsessions which instruct GDM to handle session management. AFAICT, this uses gnome-session to start FVWM. This way, all the fdo stuff gets started, and then the other WM is run instead of Gnome. I'm using KDM, not GDM. I've yet to try all this with GDM, but in point of fact FVWM (which works perfectly) is also running from KDM. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Sat, 2012-03-10 at 16:34 -0430, Patrick O'Callaghan wrote: On Sat, 2012-03-10 at 14:21 -0500, Ross Vandegrift wrote: 2) Minimal window managers like FVWM typically get installed with Xsessions which instruct GDM to handle session management. AFAICT, this uses gnome-session to start FVWM. This way, all the fdo stuff gets started, and then the other WM is run instead of Gnome. I'm using KDM, not GDM. I've yet to try all this with GDM, but in point of fact FVWM (which works perfectly) is also running from KDM. I forgot to mention that gnome-session isn't running under FVWM either, just gnome-keyring: 21370 /usr/bin/gnome-keyring-daemon --daemonize --login 21581 /usr/libexec/polkit-gnome-authentication-agent-1 I can't currently check if the second line is also present in KDE as my KDE installation is currently broken, but it might be worth looking into. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Thu, 2012-03-08 at 09:56 +, Pete Biggs wrote: I know you've said previously that you have two instances of gnome-keyring-daemon running - is that still the case? Do you know when they are started? Immediately after logging in, but before running Evo, I have: 23795 /usr/bin/gnome-keyring-daemon --daemonize --login That is what I get as well - presumably started by PAM. I run Evo, and get: 23795 /usr/bin/gnome-keyring-daemon --daemonize --login 24608 /usr/bin/gnome-keyring-daemon --start --foreground --components=secrets It is understandable why there are two processes, but the second one should have completed and gone away. Details on the command line options are at: http://live.gnome.org/GnomeKeyring/RunningDaemon To precis what it says, the --login option doesn't fully initialise the daemon, that is done by a separate process running with the --start option. What it looks like is that this second daemon can't find or talk to the initial --login daemon so takes over the role itself and so asks for the password to unlock the login keyring. I suppose one way to find out if that's true is to look at the files and sockets they are each using - the sockets are in /tmp/keyring-* - there should only be one directory owned by your username and containing 4 named sockets - you can also use lsof on the running processes to see what sockets they each have open. $ env|grep GNOME GNOME_KEYRING_CONTROL=/tmp/keyring-JmCobi GNOME_KEYRING_PID=2040 However neither PID 2040, nor file /tmp/keyring-JmCobi exist (a bunch of other /tmp/keyring* files do exist). This looks like it's worth investigating so I'll get on to it when I have more time. Which user owns each of the gnome-keyring-daemon processes? They should be owned by your username. There is also some mention of DBUS being used - is DBUS also started as part of your login process? DBus is running. It's fundamental to KDE. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Tue, 2012-03-06 at 09:23 +, Pete Biggs wrote: On Tue, 2012-03-06 at 00:05 -0430, Patrick O'Callaghan wrote: On Mon, 2012-03-05 at 17:12 +, Pete Biggs wrote: What I think is also happening for some people who use KDE, is that the login keyring is not unlocked by PAM, so when Evo starts, the gnome-keyring daemon is started and that asks for the password to the 'login' keyring, to try and find the password to unlock the default keyring; when that doesn't work, it then asks for the password to the default keyring. So people get asked twice for their password. Does all that seem logical?? I too used to think that my problems were the price of using Evo under KDE, but since I made the changes described in my last post, the problems have gone away. IOW Evo is not asking me for *any* password on first use in a new KDE session. No doubt if it is configured properly them it should all Just Work with KDE the same as it does with Gnome. I think part of the problem is that the initial configuration of gnome-keyring, PAM and GDM is more, err, robust under Gnome than the similar initial setup under KDE. Once it works everything will be OK, but when it doesn't work or is not configured properly, then it results in the user being asked to either put passwords into gnome-keyring multiple times or give Evo their password for the mail accounts every session. There's also a plethora of web sites and blogs and forum postings out there on how to get gnome-keyring working in different circumstances - I'm sure not all of them are entirely sane! All it needs is for someone to follow bad instructions, or more likely mis-follow good instructions, and they will be in difficulties. ... and we're back. I updated my system and on logging in again Evo once more asked me for my login password, which it had not done on the earlier test (honest, guv). Back to the drawing board. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
... and we're back. I updated my system and on logging in again Evo once more asked me for my login password, which it had not done on the earlier test (honest, guv). Back to the drawing board. I know you've said previously that you have two instances of gnome-keyring-daemon running - is that still the case? Do you know when they are started? Do you have Gnome Keyring integrated into PAM? I suspect the Gnome docs are the right place to go for info on this: http://live.gnome.org/GnomeKeyring/Pam I have only one instance of gnome-keyring-daemon, it is started very early on in my login sequence so I suspect it is the one started via PAM. I also only have one keyring (called 'login'), that is the default keyring (obviously) and it contains all the passwords that Evo needs. With this setup I am not asked for any passwords on starting Evo. P. ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Wed, 2012-03-07 at 14:07 +, Pete Biggs wrote: ... and we're back. I updated my system and on logging in again Evo once more asked me for my login password, which it had not done on the earlier test (honest, guv). Back to the drawing board. I know you've said previously that you have two instances of gnome-keyring-daemon running - is that still the case? Do you know when they are started? Immediately after logging in, but before running Evo, I have: 23795 /usr/bin/gnome-keyring-daemon --daemonize --login I run Evo, and get: 23795 /usr/bin/gnome-keyring-daemon --daemonize --login 24608 /usr/bin/gnome-keyring-daemon --start --foreground --components=secrets In this instance (a fresh session but not a fresh boot), Evo didn't ask for any passwords. Last time (a fresh boot and session) it did ask for the login password. Do you have Gnome Keyring integrated into PAM? I suspect the Gnome docs are the right place to go for info on this: http://live.gnome.org/GnomeKeyring/Pam Yes to everything. I did all the tests, and it's all good. I also now have only a single login.keyring file (see recent posts about this). For completeness, here's a comparison between the PAM config files for KDM, which I use, and GDM, which I don't: $ sdiff /etc/pam.d/kdm /etc/pam.d/gdm #%PAM-1.0 #%PAM-1.0 auth [success=done ignore=ignore default=bad] pam_selinux auth [success=done ignore=ignore default=bad] pam_selinux auth requiredpam_succeed_if.so user != root quiet auth requiredpam_env.so auth requiredpam_env.so auth substacksystem-auth auth substacksystem-auth -auth optionalpam_gnome_keyring.so | auth optionalpam_gnome_keyring.so auth include postloginauth include postlogin accountrequiredpam_nologin.so account requiredpam_nologin.so accountinclude system-auth account include system-auth password include system-auth password include system-auth sessionrequiredpam_selinux.so close session requiredpam_selinux.so close sessionrequiredpam_loginuid.so session requiredpam_loginuid.so sessionoptionalpam_console.so session optionalpam_console.so sessionrequiredpam_selinux.so open session requiredpam_selinux.so open sessionoptionalpam_keyinit.so force revoke session optionalpam_keyinit.so force revoke sessionrequiredpam_namespace.so session requiredpam_namespace.so -sessionoptionalpam_gnome_keyring.so auto_start | session optionalpam_gnome_keyring.so auto_start sessioninclude system-auth session include system-auth sessioninclude postloginsession include postlogin The leading '-' on some KDM lines just turns off logging if the module isn't available, but that's not the case here. The only substantive difference is that GDM has an extra line, but it's hard to see how it could matter. I guess I could paste it into the KDM file and see. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Tue, 2012-03-06 at 00:05 -0430, Patrick O'Callaghan wrote: On Mon, 2012-03-05 at 17:12 +, Pete Biggs wrote: What I think is also happening for some people who use KDE, is that the login keyring is not unlocked by PAM, so when Evo starts, the gnome-keyring daemon is started and that asks for the password to the 'login' keyring, to try and find the password to unlock the default keyring; when that doesn't work, it then asks for the password to the default keyring. So people get asked twice for their password. Does all that seem logical?? I too used to think that my problems were the price of using Evo under KDE, but since I made the changes described in my last post, the problems have gone away. IOW Evo is not asking me for *any* password on first use in a new KDE session. No doubt if it is configured properly them it should all Just Work with KDE the same as it does with Gnome. I think part of the problem is that the initial configuration of gnome-keyring, PAM and GDM is more, err, robust under Gnome than the similar initial setup under KDE. Once it works everything will be OK, but when it doesn't work or is not configured properly, then it results in the user being asked to either put passwords into gnome-keyring multiple times or give Evo their password for the mail accounts every session. There's also a plethora of web sites and blogs and forum postings out there on how to get gnome-keyring working in different circumstances - I'm sure not all of them are entirely sane! All it needs is for someone to follow bad instructions, or more likely mis-follow good instructions, and they will be in difficulties. P. ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
May I bother you a little, boys? I have two keyrings too, login and default, and it doesn't ask me twice. It only ask once to unlock the keyring and that's all. I think that this is very weird. It has to have some kind of logic somewhere but I just can't see it. Regards Sylvia signature.asc Description: This is a digitally signed message part ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
Well, the keyring password is because there are all the passwords of all of your accounts. You can see this, typing wrong password twice; you will have a prompt asking you for the password of every account you have, to receive and to send. So it has logic. Is the login password that I don't see why on earth it has to be asking. :-S Anyway, I like this kind of threads, are very interesting to read. ;-) Regards Lailah attachment: face-wink.pngattachment: face-worried.png signature.asc Description: This is a digitally signed message part ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
I have two keyrings too, login and default, and it doesn't ask me twice. It only ask once to unlock the keyring and that's all. I think that this is very weird. It has to have some kind of logic somewhere but I just can't see it. As I understand it If PAM is setup correctly, when you login, PAM will use your login password to unlock the login keyring. Evo uses the default keyring - NOT necessarily the keyring called 'default' - to store passwords. If the 'login' keyring is the default keyring, then when logging in, the keyring will be unlocked and there will be no need to unlock anything or enter any passwords when Evo starts up. What *should* also happen is that if 'login' is not the default keyring, then the password(s) for the other keyring(s) should be stored in the 'login' keyring and they will be automagically unlocked as necessary. This does not always (ever?) work, so when Evo starts up it will ask for the password for the default keyring *if* it has not already unlocked. What I think is also happening for some people who use KDE, is that the login keyring is not unlocked by PAM, so when Evo starts, the gnome-keyring daemon is started and that asks for the password to the 'login' keyring, to try and find the password to unlock the default keyring; when that doesn't work, it then asks for the password to the default keyring. So people get asked twice for their password. Does all that seem logical?? P. ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Mon, 2012-03-05 at 17:12 +, Pete Biggs wrote: What I think is also happening for some people who use KDE, is that the login keyring is not unlocked by PAM, so when Evo starts, the gnome-keyring daemon is started and that asks for the password to the 'login' keyring, to try and find the password to unlock the default keyring; when that doesn't work, it then asks for the password to the default keyring. So people get asked twice for their password. Does all that seem logical?? I too used to think that my problems were the price of using Evo under KDE, but since I made the changes described in my last post, the problems have gone away. IOW Evo is not asking me for *any* password on first use in a new KDE session. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Sun, 2012-03-04 at 00:46 +, Pete Biggs wrote: I too have two keyrings - 'login' and 'default' - all my passwords are in 'default' and I get asked for a password every time I start up Gnome - so I thought I would do a bit of reading ... It appears that unfortunately the PAM Gnome-Keyring integration will only unlock the 'login' keyring - what is supposed to happen is that when any other keyring is unlocked there should be a tick box saying Automatically unlock this on login and then the password to this keyring is stored in the login keyring and automatically used when the keyring is needed in future. Needless to say, this doesn't happen for me. Just to follow up to myself. I logged out of gnome and went to .gonme2/keyrings and renamed 'login.keyring' to something else, and then renamed 'default.keyring' 'login.keyring' and changed the contents of the file 'default' to read 'login'. When I logged back in to gnome, it all worked properly - no multiple prompts. So the answer is to have the 'login' keyring as your default and have it contain all the keys you need. Then, so long as PAM is setup properly you will be able to unlock the keyring at login and not enter any passwords multiple times. Thanks Pete. This is what worked for me: I have both login.keyring and default.keyring. The file 'default' already pointed at login.keyring. I tried switching login.keyring with default.keyring but that didn't work. I switched them back and removed (i.e. moved aside) default.keyring. That worked. IOW even though the default keyring was already set as login.keyring, the fact that a default.keyring file also existed seems to have been what made Evo not work. I'm not sure if this counts as a bug or a feature, but it works now. And my brain hurts. As my kids would say, woohoo! poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
Patrick: My operative system is Fedora 16, may be they manage some issues better than other systems. Now I'm having a little and strange problem: in Gnome sometimes appears something saying that Gconf is not running so it can't start the Evolution configuration. But it only happens on Gnome, never on KDE. I will try Cinnamon and see what happens. Aside of this, may be you have ticked the Download at start option (I'm translating from Spanish). Or maybe is the mail protocol you use. I have a POP3 account, and download the mail only when I press the button Send/Receive. Maybe is a bug of your distro or version? Regards Sylvia El mar, 28-02-2012 a las 00:04 -0430, Patrick O'Callaghan escribió: [Please don't top-post, it makes threads harder to follow] When starting Evo for the first time in a new KDE login session, I *almost* always have to give both passwords, i.e. login and keyring. I say almost because in a small percentage of cases this doesn't happen and I only have to give the keyring password. I've no idea why the behaviour varies. Note that the dialogue appears as soon as I launch Evo. I don't need to click on Send/Receive. However that might be a configuration difference as I have Evo set up to sync on startup. My understanding is that under Gnome you should only ever have to give the keyring password, and if it's the same as the login pw then you won't have to give anything, i.e. it Just Works. Since I never use the Gnome desktop (especially now with the flamewars about Gnome 3), I'm just guessing about this. BTW, I see I have two /usr/bin/gnome-keyring-daemon processes running: 1471 /usr/bin/gnome-keyring-daemon --daemonize --login 2536 /usr/bin/gnome-keyring-daemon --start --foreground --components=secrets The first was started when I logged in. The second seems to have been run explicitly by Evo, presumably because it couldn't find the first one for some reason. That could be the reason I'm seeing what I'm seeing. Perhaps your environment is different in some way. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list signature.asc Description: This is a digitally signed message part ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Sat, 2012-03-03 at 10:19 -0200, Lailah wrote: Patrick: My operative system is Fedora 16, may be they manage some issues better than other systems. Now I'm having a little and strange problem: in Gnome sometimes appears something saying that Gconf is not running so it can't start the Evolution configuration. But it only happens on Gnome, never on KDE. I will try Cinnamon and see what happens. Aside of this, may be you have ticked the Download at start option (I'm translating from Spanish). Or maybe is the mail protocol you use. I have a POP3 account, and download the mail only when I press the button Send/Receive. Maybe is a bug of your distro or version? [Once again, please don't top-post] I am also using Fedora 16. All my mail accounts but one are IMAP. The odd one out is POP. However I doubt that that is the problem since Evo is not asking me for any of the account passwords, it's asking 1) for my login password, and 2) for my keyring password. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
I am also using Fedora 16. All my mail accounts but one are IMAP. The odd one out is POP. However I doubt that that is the problem since Evo is not asking me for any of the account passwords, it's asking 1) for my login password, and 2) for my keyring password. Perhaps your keyring has two keys on it and it's unlocking both (and the time when it only needs one password, one is already unlocked). Use seahorse to see what's in your keyring - Evo should be storing everything in the key labelled 'default'. P. ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Sat, 2012-03-03 at 18:36 +, Pete Biggs wrote: Evo should be storing everything in the key labelled 'default'. Not quite. We always talk to the default keyring, whatever it happens to be labeled. Default keyring is a separate setting from the keyring label. Nowadays the default keyring is usually labeled 'login' so you get the PAM login integration I mentioned earlier. Matthew Barnes ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Sat, 2012-03-03 at 13:43 -0500, Matthew Barnes wrote: On Sat, 2012-03-03 at 18:36 +, Pete Biggs wrote: Evo should be storing everything in the key labelled 'default'. Not quite. We always talk to the default keyring, whatever it happens to be labeled. Default keyring is a separate setting from the keyring label. Nowadays the default keyring is usually labeled 'login' so you get the PAM login integration I mentioned earlier. Maybe that's a clue. I logged out and in again, and ran Seahorse without starting Evo. I see two keyrings, labelled 'login' and 'default'. I could look inside the 'login' keyring, but had to present a password to look in 'default'. Once I did that, Evo started without asking for anything. So should I just zap the 'default' keyring? It dates from 2007 and the 'login' one from 2008, so I've long forgotten why I set up two in the first place. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
Not quite. We always talk to the default keyring, whatever it happens to be labeled. Default keyring is a separate setting from the keyring label. Nowadays the default keyring is usually labeled 'login' so you get the PAM login integration I mentioned earlier. Maybe that's a clue. I logged out and in again, and ran Seahorse without starting Evo. I see two keyrings, labelled 'login' and 'default'. I could look inside the 'login' keyring, but had to present a password to look in 'default'. Once I did that, Evo started without asking for anything. So should I just zap the 'default' keyring? It dates from 2007 and the 'login' one from 2008, so I've long forgotten why I set up two in the first place. I suppose it depends on which one contains your passwords! I too have two keyrings - 'login' and 'default' - all my passwords are in 'default' and I get asked for a password every time I start up Gnome - so I thought I would do a bit of reading ... It appears that unfortunately the PAM Gnome-Keyring integration will only unlock the 'login' keyring - what is supposed to happen is that when any other keyring is unlocked there should be a tick box saying Automatically unlock this on login and then the password to this keyring is stored in the login keyring and automatically used when the keyring is needed in future. Needless to say, this doesn't happen for me. P. ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
I too have two keyrings - 'login' and 'default' - all my passwords are in 'default' and I get asked for a password every time I start up Gnome - so I thought I would do a bit of reading ... It appears that unfortunately the PAM Gnome-Keyring integration will only unlock the 'login' keyring - what is supposed to happen is that when any other keyring is unlocked there should be a tick box saying Automatically unlock this on login and then the password to this keyring is stored in the login keyring and automatically used when the keyring is needed in future. Needless to say, this doesn't happen for me. Just to follow up to myself. I logged out of gnome and went to .gonme2/keyrings and renamed 'login.keyring' to something else, and then renamed 'default.keyring' 'login.keyring' and changed the contents of the file 'default' to read 'login'. When I logged back in to gnome, it all worked properly - no multiple prompts. So the answer is to have the 'login' keyring as your default and have it contain all the keys you need. Then, so long as PAM is setup properly you will be able to unlock the keyring at login and not enter any passwords multiple times. P. ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Tue, 2012-02-28 at 05:57 -0500, Adam Tauno Williams wrote: On Sun, 2012-02-26 at 09:39 -0200, Lailah wrote: I was doing some proofs in my system in which live together KDE, Gnome 3 and Cinnamon. When I start Evolution in Gnome and click on Send/Receiving it asks to me for keyring password and then start normally. When I start Evolution in KDE and click on Send/Receiving it asks just like in Gnome. It doesn't ask me twice. The same happen in Cinnamon. I thought that was the normal behaviour. Then, what is the normal behaviour? No asking at all? When I, using GNOME, start Evolution I am not prompted to unlock my keyring as that is performed by the GNOME greeter when I authenticated there. In other words, if you have automatic login configured for your system, where you don't have to enter your password when your system boots up, then you'll have to enter the keyring password the first time you use any application that requires a password, a la Evo. I discovered this by accident, so I turned off auto-login, and set all email accounts in Evo to remember their passwords. Matt Needles CIW Web Development Professional CompTIA A+, Security+, Project+ ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Sun, 2012-02-26 at 09:39 -0200, Lailah wrote: I was doing some proofs in my system in which live together KDE, Gnome 3 and Cinnamon. When I start Evolution in Gnome and click on Send/Receiving it asks to me for keyring password and then start normally. When I start Evolution in KDE and click on Send/Receiving it asks just like in Gnome. It doesn't ask me twice. The same happen in Cinnamon. I thought that was the normal behaviour. Then, what is the normal behaviour? No asking at all? When I, using GNOME, start Evolution I am not prompted to unlock my keyring as that is performed by the GNOME greeter when I authenticated there. signature.asc Description: This is a digitally signed message part ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Sun, 2012-02-26 at 09:39 -0200, Lailah wrote: Patrick: I was doing some proofs in my system in which live together KDE, Gnome 3 and Cinnamon. When I start Evolution in Gnome and click on Send/Receiving it asks to me for keyring password and then start normally. When I start Evolution in KDE and click on Send/Receiving it asks just like in Gnome. It doesn't ask me twice. The same happen in Cinnamon. I thought that was the normal behaviour. Then, what is the normal behaviour? No asking at all? [Please don't top-post, it makes threads harder to follow] When starting Evo for the first time in a new KDE login session, I *almost* always have to give both passwords, i.e. login and keyring. I say almost because in a small percentage of cases this doesn't happen and I only have to give the keyring password. I've no idea why the behaviour varies. Note that the dialogue appears as soon as I launch Evo. I don't need to click on Send/Receive. However that might be a configuration difference as I have Evo set up to sync on startup. My understanding is that under Gnome you should only ever have to give the keyring password, and if it's the same as the login pw then you won't have to give anything, i.e. it Just Works. Since I never use the Gnome desktop (especially now with the flamewars about Gnome 3), I'm just guessing about this. BTW, I see I have two /usr/bin/gnome-keyring-daemon processes running: 1471 /usr/bin/gnome-keyring-daemon --daemonize --login 2536 /usr/bin/gnome-keyring-daemon --start --foreground --components=secrets The first was started when I logged in. The second seems to have been run explicitly by Evo, presumably because it couldn't find the first one for some reason. That could be the reason I'm seeing what I'm seeing. Perhaps your environment is different in some way. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Tue, 2012-02-28 at 00:04 -0430, Patrick O'Callaghan wrote: My understanding is that under Gnome you should only ever have to give the keyring password, and if it's the same as the login pw then you won't have to give anything, i.e. it Just Works. Since I never use the Gnome desktop (especially now with the flamewars about Gnome 3), I'm just guessing about this. That's basically correct. The 'login' keyring is special because it's tied into PAM somehow, and so if that's also your default keyring then automatic unlocking should Just Work in most distros. There's a wiki page that explains how to set this up manually, but I can never get through it without my eyes glazing over. http://live.gnome.org/GnomeKeyring/Pam Matthew Barnes ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
Patrick: I was doing some proofs in my system in which live together KDE, Gnome 3 and Cinnamon. When I start Evolution in Gnome and click on Send/Receiving it asks to me for keyring password and then start normally. When I start Evolution in KDE and click on Send/Receiving it asks just like in Gnome. It doesn't ask me twice. The same happen in Cinnamon. I thought that was the normal behaviour. Then, what is the normal behaviour? No asking at all? Regards, Sylvia El lun, 13-02-2012 a las 19:41 -0430, Patrick O'Callaghan escribió: On Mon, 2012-02-13 at 11:37 -0500, Adam Tauno Williams wrote: On Sun, 2012-02-12 at 16:38 +0100, Paulo Crespi wrote: I ran into the same problem after upgrading to evolution 3.2.1 on OpenSuse 12.1 and KDE 4.7.2. After many (in my opinion useless) attempts to solve the keyring issue, I eventually deleted gconf, restarted evolution and set up my mail accounts. As expected Evolution created new config files and from then on everything went more or less fine. With or without seahorse or keyring daemon installed. The keyring is always installed as a dependency, AFAIK. Seahorse is certainly *not* required. It is a [excellent] tool for visualizing and managing your keyring which otherwise is just a mysterious thing that exists under the covers. It would have been interesting to know if you had just deleted your default keyring via Seahorse and restarted if the problem would have gone away. I may be mistaken, but it seems Evolution does not override the gnome configuration properly. I hope this is helpful. I'd *guess* the problem was in the default keyring somehow. Perhaps KDE's greeter doesn't initialize the keyring? Don't know. As has been commented several times on this list over the years, none of KDE knows anything about the Gnome keyring. KDE has its own entirely separate keystore, the KDE Wallet. The existence of two subsystems with essentially the same functionality but which don't communicate with each other is a constant irritant. Every time I start Evo in a new login session I have to re-type my login password *and* my Gnome keyring password (it used to be just one of them, now it's both; I guess that's progress ...). There's some talk of a new KDE-side package which will address this but I don't know the details. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list signature.asc Description: This is a digitally signed message part ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start from Fri, 03 Feb 2012 15:39:53 -0800
On Mon, 2012-02-13 at 18:47 -0600, Matthew Barnes wrote: On Mon, 2012-02-13 at 19:41 -0430, Patrick O'Callaghan wrote: As has been commented several times on this list over the years, none of KDE knows anything about the Gnome keyring. KDE has its own entirely separate keystore, the KDE Wallet. The existence of two subsystems with essentially the same functionality but which don't communicate with each other is a constant irritant. Every time I start Evo in a new login session I have to re-type my login password *and* my Gnome keyring password (it used to be just one of them, now it's both; I guess that's progress ...). There's some talk of a new KDE-side package which will address this but I don't know the details. Stef Walter has assured me he's working on a replacement for GNOME Keyring called GSecret that uses the same freedesktop.org standard D-Bus API as KDE Wallet, so theoretically you can mix-and-match the KDE Wallet service with the GSecret client library or vice versa. http://stef.thewalter.net/2011/09/introspecting-certificates.html?showComment=1317622996198#c5364051270673968069 As soon the GSecret library is available, ditching GNOME Keyring will be a top priority for me. GNOME Keyring is as much of a pain to program to as it is to use outside of GNOME. Sounds good. I was actually thinking of a different package which is being pushed for KDE 4.8: http://www.ohloh.net/p/ksecretsservice Since this is also D-Bus based, we can cross our fingers and hope for compatibility. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
[Evolution] evolutio forgets my passwords every start from Fri, 03 Feb 2012 15:39:53 -0800
Dear John, dear Adam, I ran into the same problem after upgrading to evolution 3.2.1 on OpenSuse 12.1 and KDE 4.7.2. After many (in my opinion useless) attempts to solve the keyring issue, I eventually deleted gconf, restarted evolution and set up my mail accounts. As expected Evolution created new config files and from then on everything went more or less fine. With or without seahorse or keyring daemon installed. I may be mistaken, but it seems Evolution does not override the gnome configuration properly. I hope this is helpful. Best regards Paul ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start from Fri, 03 Feb 2012 15:39:53 -0800
On Sun, 2012-02-12 at 16:38 +0100, Paulo Crespi wrote: I ran into the same problem after upgrading to evolution 3.2.1 on OpenSuse 12.1 and KDE 4.7.2. After many (in my opinion useless) attempts to solve the keyring issue, I eventually deleted gconf, restarted evolution and set up my mail accounts. As expected Evolution created new config files and from then on everything went more or less fine. With or without seahorse or keyring daemon installed. The keyring is always installed as a dependency, AFAIK. Seahorse is certainly *not* required. It is a [excellent] tool for visualizing and managing your keyring which otherwise is just a mysterious thing that exists under the covers. It would have been interesting to know if you had just deleted your default keyring via Seahorse and restarted if the problem would have gone away. I may be mistaken, but it seems Evolution does not override the gnome configuration properly. I hope this is helpful. I'd *guess* the problem was in the default keyring somehow. Perhaps KDE's greeter doesn't initialize the keyring? Don't know. -- System Network Administrator [ LPI NCLA ] http://www.whitemiceconsulting.com OpenGroupware Developer http://www.opengroupware.us Adam Tauno Williams ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start from Fri, 03 Feb 2012 15:39:53 -0800
On Mon, 2012-02-13 at 11:37 -0500, Adam Tauno Williams wrote: On Sun, 2012-02-12 at 16:38 +0100, Paulo Crespi wrote: I ran into the same problem after upgrading to evolution 3.2.1 on OpenSuse 12.1 and KDE 4.7.2. After many (in my opinion useless) attempts to solve the keyring issue, I eventually deleted gconf, restarted evolution and set up my mail accounts. As expected Evolution created new config files and from then on everything went more or less fine. With or without seahorse or keyring daemon installed. The keyring is always installed as a dependency, AFAIK. Seahorse is certainly *not* required. It is a [excellent] tool for visualizing and managing your keyring which otherwise is just a mysterious thing that exists under the covers. It would have been interesting to know if you had just deleted your default keyring via Seahorse and restarted if the problem would have gone away. I may be mistaken, but it seems Evolution does not override the gnome configuration properly. I hope this is helpful. I'd *guess* the problem was in the default keyring somehow. Perhaps KDE's greeter doesn't initialize the keyring? Don't know. As has been commented several times on this list over the years, none of KDE knows anything about the Gnome keyring. KDE has its own entirely separate keystore, the KDE Wallet. The existence of two subsystems with essentially the same functionality but which don't communicate with each other is a constant irritant. Every time I start Evo in a new login session I have to re-type my login password *and* my Gnome keyring password (it used to be just one of them, now it's both; I guess that's progress ...). There's some talk of a new KDE-side package which will address this but I don't know the details. poc ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start from Fri, 03 Feb 2012 15:39:53 -0800
On Mon, 2012-02-13 at 19:41 -0430, Patrick O'Callaghan wrote: As has been commented several times on this list over the years, none of KDE knows anything about the Gnome keyring. KDE has its own entirely separate keystore, the KDE Wallet. The existence of two subsystems with essentially the same functionality but which don't communicate with each other is a constant irritant. Every time I start Evo in a new login session I have to re-type my login password *and* my Gnome keyring password (it used to be just one of them, now it's both; I guess that's progress ...). There's some talk of a new KDE-side package which will address this but I don't know the details. Stef Walter has assured me he's working on a replacement for GNOME Keyring called GSecret that uses the same freedesktop.org standard D-Bus API as KDE Wallet, so theoretically you can mix-and-match the KDE Wallet service with the GSecret client library or vice versa. http://stef.thewalter.net/2011/09/introspecting-certificates.html?showComment=1317622996198#c5364051270673968069 As soon the GSecret library is available, ditching GNOME Keyring will be a top priority for me. GNOME Keyring is as much of a pain to program to as it is to use outside of GNOME. Matthew Barnes ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] evolutio forgets my passwords every start
On Fri, 2012-02-03 at 15:32 -0800, John Stile wrote: Every time I start evolution I am prompted for passwords for accounts on one of the IMAP servers. My evolution is configured for multiple IMAP accounts on two different servers. At startup evolution hangs for a long time, but finally prompts for the passwords, which are already lists as dots, so I just submit and it works. Whatever password it remembers is probably wrong; but this is almost certainly *not* a problem with Evolution but with your keyring. Evolution 'out-sources' credential management to the GNOME keyring; Evolution does *not* remember passwords. This location does not seem to matter. Even after cleanly restarting the program it happens again. Yep, because it isn't a problem with Evolution. If you don't have Seahorse installed, install Seahorse. Then you can use that application to look at your keyring and delete the incorrect entry. That may help. emerge --info Portage 2.1.10.41 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.13-r4, 2.6.39-gentoo i686) Ah ha! You are on Gentoo. You're keying install/setup is almost certainly borked. -- System Network Administrator [ LPI NCLA ] http://www.whitemiceconsulting.com OpenGroupware Developer http://www.opengroupware.us Adam Tauno Williams ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
[Evolution] evolutio forgets my passwords every start
Every time I start evolution I am prompted for passwords for accounts on one of the IMAP servers. My evolution is configured for multiple IMAP accounts on two different servers. At startup evolution hangs for a long time, but finally prompts for the passwords, which are already lists as dots, so I just submit and it works. This location does not seem to matter. Even after cleanly restarting the program it happens again. I launched the program in debug mode: export CAMEL_DEBUG=all strace /usr/bin/evolution evo.$Date.log 21 but the output is useless and the file is 134M. Nothing about password in the log. I am using evolution 2.32.3 on gentoo stable. I need some advice. I've been living with this for a while. emerge --info Portage 2.1.10.41 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.13-r4, 2.6.39-gentoo i686) = System uname: Linux-2.6.39-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.3 Timestamp of tree: Fri, 03 Feb 2012 19:15:01 + distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 3.1.6 [disabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 2.7.2-r3, 3.1.4-r3 dev-util/ccache: 3.1.6 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc:4.4.5, 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool:2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.2 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo x-portage ACCEPT_KEYWORDS=x86 ACCEPT_LICENSE=* CBUILD=i686-pc-linux-gnu CFLAGS=-O2 -march=prescott -pipe -fomit-frame-pointer CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/qmail/alias /var/qmail/control /var/vpopmail/etc CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c CXXFLAGS=-O2 -march=prescott -pipe -fomit-frame-pointer DISTDIR=/usr/portage/distfiles FEATURES=assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch FFLAGS= GENTOO_MIRRORS=http://distfiles.gentoo.org; LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LDFLAGS=-Wl,-O1 -Wl,--as-needed LINGUAS=en MAKEOPTS=-j2 PKGDIR=/usr/portage/packages PORTAGE_CONFIGROOT=/ PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage PORTDIR_OVERLAY=/usr/local/portage SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage USE=X a52 aac aalib accessibility acl acpi addc alsa apache2 arts avahi avi bash-completion berkdb bitmap-fonts bluetooth bookmarks branding bzip2 cairo cdda cdr cjkcodecs cleartype cli commons-codec consolekit corefonts cracklib crypt cups cxx dbus divx4linux dri dsk dts dv dvd dvdnav dvdr dvdread eds emboss encode evolution exif exscalibar faacc faad fam ffmpeg fftw firefox flac fontconfig foomaticdb fortran frame fuse gd gdbm gdu gif gimpprint gnome gphoto2 gpm gs gtk gtk2 iconv iconvcodec ipod ipv6 jasper java jpeg kde kde-meta kdexdeltas kerberos krb5 lcms ldap libdv libnotify libtheora mad madwifi midi mmx mng modules mp3 mp4 mpeg mppe-mppc mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam pango pcre pda pdf png policykit ppds pppd python qt3 qt3support qt4 quicktime rar readline samba sdl semantic-desktop session spell sql sse ssl startup-notification subtitles svg svga sysfs tcpd tga theora tiff truetype truetypelive type1 udev unicode usb v4l v4l2 vdpau vorbis webkit win32codecs x264 x86 xcb xcomposite xext ximian-connector xml xml2 xmms xorg xulrunner xv xvid zlib zvbi ALSA_CARDS=hda-intel ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol APACHE2_MODULES=actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic