In GNOME 3.4 (Fedora 17), GNOME Online Accounts (GOA) worked great with Google two-factor authentication (you really should enable that, if you value your data). In GNOME 3.6 (Fedora 18) it works no more, and it might be fixed in GNOME 3.8. When developers break some existing functionality for the sake of “progress”, but don’t bother fixing it or providing an alternative way before an official release, I always feel a bit… disenchanted.
Fortunately you can work around the broken code.
- Open Seahorse, filter your passwords for “GOA”, you should see one or two items of “Gnome Online Accounts password” type. Delete them.
- Re-login to Gnome session.
- Open Online Accounts and log in to your Google account. It will fail.
- Create an application-specific password for your Google account in the web browser.
- Open Seahorse, filter your password for “GOA”, you should see a single item. Open it and display the password. It will be very long, find the following section:
'password': <'your_password'>
. - Replace your_password with your application-specific password you’ve generated.
- Close Seahorse and re-login to your Gnome session.
- Online accounts should work now. It worked for me.
It would be really nice if we didn’t have to fix this stuff by hand. Every time I upgrade I have to do lots of these kinds of magic fixes. In Fedora 18, this was one of the minor issues. The big issues still await me.
Thanks, I’ve been looking for a workaround since 3.6 was out!
Thanks! =)
thanks, problem solved =)
It also worked for me !
Thanks a lot for the simple fix.
Can you help me, it is no working for me, what do you mean by re-login to your Gnome session? in gnome 18 you cant log out if you only have one user, which is my case. Also everytime i try to re login on the online user acounts after setting my aplication specific pass on the seahorse, it resets the password there…
Yes, removing “Log Out” was a very poor decision from the GNOME team. You can still trigger it by running “gnome-session-quit” or creating another user, but the easiest solution is just to reboot completely.
Thanks, you’re a lifesaver!
I just tried this several times and it still doesn’t work for me. I also noticed that the seahorse pop up for the GOA store gets very flakey on displaying when you mess with the password.
Thanks!
sadly, this is also not working for me. after setting the password in seahorse and re-login, authentication fails again 😦
i’m unable to use google talk in empathy and disappointed.
Thanks!
Not working for me either… Fedora 18.
Same here. After wiping the GOA passwords in Seahorse and removing the entry in GOA, I created a new account, changed the password, logged out. Upon logging back in, was told credentials has expired. Verified the manually-entered application-specific password is still there in Seahorse, restarted — no difference.
It’s a bit maddening how GOA does not allow the use of app-specific passwords; in GNOME 3.4 I recall using it just fine with Empathy.
ps on Fedora 18 as well, g-o-a 3.6.2. Perhaps something breaks during an update?
Ah, silly me — one is meant to replace the password *within* the dictionary that’s stored as the GOA password, not replace the entire dictionary with the app-specific password. Works now. Though finding that, while Empathy works with Google Talk, enabling Facebook chat through GOA crashes it. Sigh.
Muchas gracias!
Thank a lot! Saved my day. You just won one more reader for your feed.
Thanks a lot, this saved my day, too. Damn gnome3. Such a beautiful wm, sadly with so many problems.
Also works on Gnome 3.8, thanks! 🙂
This works for me, but…directly after this evolution crashes with a segmentation fault:
Apr 27 17:40:19 eduard-TECRA-S11 kernel: [ 2334.784111] pool[4947]: segfault at 0 ip 00007ffd22abb429 sp 00007ffd0d3ef4e0 error 4 in libgoa-1.0.so.0.0.0[7ffd22aa6000+37000]
Congrats, works perfectly for me.
Worked beautifully. Thanks, sir
While this had solved my problem in GNOME 3.6, I just updated to GNOME 3.8 and this no longer works for me. Does it work for anyone else here?
Never mind; I retried it a third time and it did work.
Thanks. Works fine on Fedora 19
Anyone have problem with Google Calendar? I want to sync multiple calendars that I have in my account, but only “Personal” is displayed in Evolution. Anyone have a solution?
Thanks! 🙂
Thanks, it works fine in Fedora 18
Thank you 🙂
I forgot to say: schroedinger’s cat (fed.19) – it took some seconds (patience…) then it worked really fine.
Gnome 3.8, Ubuntu 13.04.
Upon signing on to GOA w/ 2-factor auth, the GOA entry in the Login keyring, as seen in Seahorse, had key-value pairs w/ the following keys: ‘authorization_code’, ‘access_token’, ‘access_token_expires_at’, ‘refresh_token’. There wasn’t a key named ‘password’, so I added it and set its value to an app-specific Google password. I continue to get the notifications about not being connected to my online account.
same for me on Fedora 20 Gnome 3.10.4 … did you find a solution?
Ditto here… last f#*%ing straw for Gnome3 (this and the terrible things they’ve done to nautilus)… I’ve put up with a lot of c%@p so far but I’m out… my solution: new window manager.
THX, it was just enought to replace password in seahorse. It’s finally working again 🙂
Thank you, you saved my day (and night as this kind of problem always haunt me in my dreams ^^)
Thanks !!
It works in Fedora 19… Thanks…
Reblogged this on Sriram's Weblog.
why the F=)#& does my password show up there unencrypted. I never want to see that!
+1
They sadly rebroke this even further as of 3.10 and it requires you to not use an application specific password.