The "Access Prompt" randomly pop up!

Bug #1044549 reported by Adrián
288
This bug affects 60 people
Affects Status Importance Assigned to Milestone
gcr (Ubuntu)
Triaged
High
Unassigned

Bug Description

Access Prompt randomly pop up and prompt you for the password. Have you ever when opened Youtube, Facebook, Launchpad account!n And now opened a picture of the computer when pop up"Access Prompt"
I use autologin.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: gcr 3.5.90-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-13.14-generic 3.5.3
Uname: Linux 3.5.0-13-generic x86_64
ApportVersion: 2.5.1-0ubuntu4
Architecture: amd64
Date: Fri Aug 31 22:33:44 2012
ExecutablePath: /usr/lib/gcr/gcr-prompter
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120724.2)
SourcePackage: gcr
UpgradeStatus: No upgrade log present (probably fresh install)
XsessionErrors:
 (gnome-settings-daemon:1401): libappindicator-WARNING **: Unable to connect to the Notification Watcher: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.48 was not provided by any .service files
 (gnome-control-center:2016): background-cc-panel-WARNING **: Could not load /usr/share/themes/Adwaita/index.theme: Nincs ilyen fájl vagy könyvtár
 (gnome-control-center:2016): GLib-GIO-CRITICAL **: g_settings_set_value: assertion `G_IS_SETTINGS (settings)' failed
 (gnome-control-center:2016): Gtk-CRITICAL **: gtk_builder_get_object: assertion `GTK_IS_BUILDER (builder)' failed
 (gnome-control-center:2016): Gtk-CRITICAL **: gtk_icon_view_get_selected_items: assertion `GTK_IS_ICON_VIEW (icon_view)' failed

Revision history for this message
Adrián (jaksi) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gcr (Ubuntu):
status: New → Confirmed
Revision history for this message
sl45sms (sl45sms) wrote :

After upgrade from 12.04 gcr-prompter ask for my email password on every login...

Revision history for this message
Dawid Wróbel (dawidw) wrote :

It's gotten worse now, it pops up continuously even if you close the dialog and, even worse, it locks the focus so you can't switch to the other window. I had to switch to tty console and kill it from there to be able to regain the control over the desktop.

Also it looks very dodgy when it shows up just like this out of nowhere. It has no explanation whatsoever about the reason for asking the password and which application is the real requester. It's just suspicious.

I also use autologin if that's relevant.

Revision history for this message
Reece (reece) wrote :

Also affects me. 12.10, upgraded from 12.04.

I'm not using autologin.

I can't tell who's asking or why. (gwibber?)

Revision history for this message
Rex Mundi (service-redterra) wrote :

Agree with dawidw, it looks very dodgy when it appears with no reference to why or what is requesting the credentials.

Revision history for this message
Extender (msveshnikov) wrote :

Same here. Please tell me what package to remove to ged rid of it?

Revision history for this message
Mark Rowan (mark-tamias) wrote :

The prompt appears every time I start Ubuntu 12.10 as well. Leaving it running steals all focus from the desktop, and uses a lot of CPU. I use fprint to log in using a fingerprint reader on my Thinkpad, if that's relevant.

Revision history for this message
Mark Rowan (mark-tamias) wrote :

Seems to have been reported here as well, specifically in the context of Ubuntu One client: https://bugs.launchpad.net/ubuntuone-client/+bug/1074233

Revision history for this message
Bert Van Vreckem (bert-vanvreckem) wrote :

I used Wireshark to find out which website was connected during authentication, it was Google. I have 2-factor authentication turned on, so my "normal" Google password wasn't accepted by the dialog. I generated a new account specific password, which was accepted.

Hope this helps others...

Revision history for this message
Mark Rowan (mark-tamias) wrote :

Bert: I don't understand how changing a password at Google will solve the problem -- could you explain, please? Are you talking about the sign-ins as part of Desktop Integration (in Online Accounts settings)?

Revision history for this message
tkoopa (tkoopa) wrote :

Same problem here, it pops up here every five minutes even after having removed/added google account with two factor verification ( 12.10 upgrade from 12.04 ).

Revision history for this message
Phillip Susi (psusi) wrote :

I have not done anything with google or two factor authentication. This popup keeps happening even when I don't seem to have anything open and it won't accept my password. The fact that it somehow prevents you from typing in another window, especially when you were in the middle of doing that when it poped up is *extremely* annoying, as is the fact that it pops up 3 times each time you try to cancel it before it finally goes away.

Changed in gcr (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Mathieu SENSEI (hyu9a) wrote :

I had the same issue.
I cleared all my Gnome Online Accounts. Pupup was still annoying me every 5 min.
After searching in my home directory, I found this file ~/.config/goa-1.0/accounts.conf still containing my gmail address :

[Account account_0123456789]
Provider=google
Identity=<my_address>@gmail.com
PresentationIdentity=<my_address>@gmail.com
MailEnabled=true
CalendarEnabled=true
ContactsEnabled=true
ChatEnabled=false
DocumentsEnabled=true

Removing this file fixed the problem for me.

Hoping it will help !

Revision history for this message
Mark Rowan (mark-tamias) wrote :

Thanks Mathieu -- renaming this file appears to have resolved the issue for me as well, without causing any noticeable problems. What is this file for, and why does its presence cause this issue, I wonder?

Revision history for this message
Dawid Wróbel (dawidw) wrote :

Mathieu, Mark - did you by any chance have Google account configured in previous distribution releases that you upgraded from? It did not provide much integration with the system but I had it configured nonetheless. It could be that the accounts were stored differently previously and this would explain why was the ~/.config/goa-1.0/accounts.conf file still present after deleting all the Google accounts in "Online Accounts" dialog.

Revision history for this message
Mark Rowan (mark-tamias) wrote :

Dawid -- yes, that could be it. I definitely added my Google account info in Ubuntu 12.04, even though there wasn't much integration.

Revision history for this message
Aaron Roydhouse (aaron-roydhouse) wrote :

This problem started for me after upgrading to 12.10. Removing the ~/.config/goa-1.0/accounts.conf file fixed it.

Revision history for this message
Robert Bruce Park (robru) wrote :

Was experiencing this with raring, and then I just updated to Saucy and got bit by this again... just tried deleting that accounts.conf file, hopefully that stops it...

Revision history for this message
Silas Arn (silas89) wrote :

I have the same problem. I think, it's only with Google and in my case i think it's because I've activated 2-way-authentification (After Login with Password I recieve a SMS with a Code which I have to enter).

Revision history for this message
ferrouswheel (joel-pitt) wrote :

Same problem here.

Added Google account in 12.04 even though it was mostly unused. On upgrade I got these annoying and unlabelled (!) requests for a password... I couldn't even determine which account it was for because it only displayed an email address.

The solution here seems to do the trick https://bugs.launchpad.net/ubuntu/+source/gcr/+bug/1044549/comments/14

Revision history for this message
Giulio Bonanome (gbonanome) wrote :

Same problem here on Ubuntu 13.10.
Also for me renaming the file ~/.config/goa-1.0/accounts.conf solved the problem (see https://bugs.launchpad.net/ubuntu/+source/gcr/+bug/1044549/comments/14).

Revision history for this message
alcachi (alcachi) wrote :

The accounts.conf file is also used by the new Ubuntu online accounts configuration. The problem seems to be that after an upgrade the old entry from the original Gnome online accounts application is left. The new online accounts utility adds entries after the previous one which is the one causing the problem.

This is the old entry in my case:

[Account account_1388648527]
Provider=google
<email address hidden>
<email address hidden>
MailEnabled=true
CalendarEnabled=true
ContactsEnabled=true
ChatEnabled=true
DocumentsEnabled=true

Just editing the accounts.conf file and removing just this entry solved the problem. If you remove the file you will have to rerun the new online accounts application in order to recreate your new configuration.

Revision history for this message
Shahar Or (mightyiam) wrote :

Wow, @alcachi. Thanks.

What's the full path to this file, please?

Revision history for this message
Bernhard Schülke (bernhard001) wrote :

@alcachi: Thanks, it helps. :-)
@Shahar: /home/user/.config/goa-1.0/accounts.config

user: Your username.

Revision history for this message
Fred Béland (rockonfred) wrote :

If the prompt is caused by a google online account with dual factor authentication and you want to maintain the goa functionality, you can set an App Password in your google account settings and enter it at the prompt. This avoids having to delete the accounts.conf file.

This solution solved my issue on Linux Mint 17.3; my Evolution is set up to use the gnome online accounts for imap functionality.

Revision history for this message
Raphaël Droz (raphael-droz) wrote :

This 8-years problem still exists on 20.04 (!)

As commented in #4 back in 2012, the particular focus-mode triggers crazy situations.
Ex: autologin + autostart app's and/or auto-move windows (dedicated desktop per window)

After GDM (auto)login, the "gcr-prompter" can not be focused or even worst: not even visible. But still holds a TOTAL focus (grabbing all inputs).
That means neither the popup nor the session can be closed, Gnome-shell can't be restarted, and the only possibility is to switch to tty, use `ps`, determinate the name of the process... what not even a workaround for a normal user.

I think there is no reason that justify keeping a user from using "Alt-F2 / restart".

About why this popup start in the first place is, IMHO, not a subject (I've 1 owncloud + 2 google accounts there and I can't tell why this come up)
... But *if* this popup arises it must not brick the whole session.

Revision history for this message
Raphaël Droz (raphael-droz) wrote :

Several problems about bug triage itself:

- Since 2012, no corresponding bug has been opened upstream (https://gitlab.gnome.org/GNOME/gcr/-/issues) : ping pkg-gnome-maintainers?
- upstream isn't subscribed to this bug either (@NielsDG?)
- The code about the gcr-prompter itself does not seem to have been significantly touched since its creation by Stef Walter in 2012:
 * https://gitlab.gnome.org/GNOME/gcr/-/commits/master/ui/gcr-prompter-tool.c
 * https://gitlab.gnome.org/GNOME/gcr/-/commits/master/ui/gcr-prompt-dialog.c
 * https://gitlab.gnome.org/GNOME/gcr/-/commits/master/ui/gcr-unlock-renderer.c

except "Grab-keyboard logic" in https://gitlab.gnome.org/GNOME/gcr/-/commit/879b2734a9af3d8658b7b760c609daaf5b5d4fec (part of 3.36.0) (@Dmitry Baryshkov)

Any chance this prompt could be fixed?

Revision history for this message
Raphaël Droz (raphael-droz) wrote :

Retrospective:

- https://askubuntu.com/questions/867/how-can-i-stop-being-prompted-to-unlock-the-default-keyring-on-boot (Viewed 439k times, 309 votes)
- https://askubuntu.com/questions/495957/how-to-disable-the-unlock-your-keyring-popup (Viewed 403k times, 138 votes)
- https://askubuntu.com/questions/3045/how-to-disable-gnome-keyring (Viewed 54k times, 16 votes)
- https://askubuntu.com/questions/288956/after-login-there-is-a-strange-window-asking-for-a-password/289810 (Viewed 5k times, 5 votes)
- https://askubuntu.com/questions/971187/17-10-stuck-at-unlock-your-login-keyring-on-startup (Viewed 870 times, 2 votes)
- https://askubuntu.com/questions/959345/why-wont-the-unlock-keyring-window-go-away (Viewed 440 times, 0 vote)

This popup annoyance represents the major part of the questions tagged "gnome-keyring" (https://askubuntu.com/questions/tagged/gnome-keyring) all over the place.

And it all ends up with two MAIN issues: This one about the "modal" focus of the prompt.

And the other one about naming which service the popup is prompting a password for.

Revision history for this message
Raphaël Droz (raphael-droz) wrote :
Revision history for this message
Andreas Henriksson (andreas-fatal) wrote :

@raphael-droz stop subscribing people to your pet issue. If you can't leverage the fact that this is open source and you're free to modify it to your needs, then go buy a support contract to get the help!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.