Access Prompt keeps asking for GMail password

Solution 1:

Evgeni Leshtanski's answer clued me in to what was really happening. The question isn't, "How do I tell some random prompt what my password is?" but rather, "What is going on?"

In my case -- and this probably affects a lot of people -- the underlying culprit was Empathy. I don't use Empathy, so I don't want it to authenticate to Google Talk on my behalf. Now here's where it gets interesting. When I followed Evgeni's lead and ran Online Accounts (under System Settings), it was completely unpopulated. That's because it auto-populates when apps that hook in to Online Accounts update credentials. Since I never filled in that Access Prompt dialog box, this never happened and I had nothing to change.

The key action that's leading this behavior on startup is that Empathy defaults to "Automatically connect on startup" even if you don't actually use it. So run Empathy, go to Preferences, and under the General tab, uncheck "Automatically connect on startup".

In my particular case, I had to also stop Evolution from checking my Gmail account before this dialog box went away completely.

Solution 2:

Try renaming the file

~/.config/goa-1.0/accounts.conf

It worked nicely for me. Thanks to this comment: bugs.launchpad.net/ubuntu/+source/gcr/+bug/1044549/comments/14

Solution 3:

Your "Password was incorrect" problem is because "GMail" identifies "Evolution" as a less secure app, so doesn't provide authentication to the app. You can change this feature if you want, https://www.google.com/settings/security/lesssecureapps

But if you don't want to allow your email access to evolution, you can remove your gmail account in evolution by following these steps

  1. Open Evolution
  2. Edit
  3. Preferences
  4. Select your email account, then press "delete"

This should remove your email account from evolution and no more signing in troubles anymore.