If I reboot Ubuntu, then I need to log on each site and into Google Chrome account. What is the reason? My system is Ubuntu 16.04 and Google Chrome 53.0.2785.101 (64-bit).
9 Answers
Had the same issue. My system is Ubuntu 16.04 and Google Chrome 53.0.2785.101 (64-bit).
Here is my workaround:
- Go to Ubuntu System Settings -> Online Accounts
- add your Google account there
- turned on the switcher (not sure if it is necessary though)
- go to Chrome browser and login there again
- close the browser window
Note: you must prevent chrome processes from running after closing the window. To do this go to Chrome settings > Advanced settings (at the bottom) > Uncheck 'Continue running background apps when Google Chrome is closed'
Once I did it Chrome stopped dropping authentication after logging out in Ubuntu and also after rebooting
- 286
You have to enable this feature in Privacy settings. You can get there by going into Chrome settings:
Enable saving passwords
- Click the Chrome menu icon (the three dots on the top right).
- Click Settings
- Click Show advance settings (new the bottom of the page)
- (Under Privacy - Passwords and forms)Place check marks under the following:
- Enable Autofill to fill out web forms
- Offer Save your web passwords
- Enable Autofill to fill out web forms
Passwords can be saved even with cookies disabled. You can still check your cookie settings with the steps below.
Enable or disable cookies
- Click the Chrome menu icon
- Click Settings
- Click Show advance settings
- In the Privacy section, select Content settings
- Select Allow local data to be set
If all settings are set for saving passwords and it still fails check the integrity of Chrome's setting by bring it to the defaults with the following steps.
First exit out of Chrome. Then run these commands to temporarily remove the current settings.
$ cd ~/.config
$ mv google-chrome google-chrome.bak
You can get the previous settings back by renaming google-chrome.bak to the it's original.
The issue was resolved as detailed in the chat comment section by renaming the home directory to a backup name, then creating a new home directory where Google Chrome worked. Then the backup directory was migrated to the new space.
- 25,444
Workaround
If above answer does not solve the issue, installing the beta version of Google Chrome can workaround the problem.
apt install google-chrome-beta
This seems not to solve it (entry preserved for historical reasons):
I have the very same problem and did a few hours of debugging.
My problem is only related to google-chrome-stable Version 53.0.2785.101 (64-bit) on ubuntu 16.04.
When I login at a website, cookies are set correctly. When I close chrome, log out, log back in again, the cookies are still there and everything is fine. However, if I reboot, the cookies are gone and I need to login again.
I did some debugging (reinstalling chrome, reverting to default config, starting from a clean config, everything as suggested above, ...) and the bug persits.
I installed google-chrome-unstable Version 55.0.2853.0 dev (64-bit) and everything works fine (while stable still has the issue). So this is probably a chrome software bug.
My "solution": Use firefox/chrome-unstable for a few days/weeks, just wait for the update which fixes the issue to propagate to google-chrome-stable.
By the way, I'm using ubuntu 16.04 (systemd) with dm mapper/cryptsetup which was upgraded from 14.04 and I'm still not 100% sure that my crypt partition is unmounted every time 100% correctly (though the fs is always clean). @Novah, do you have a similar setup?
It is September 2016 when I write this advice. If it hasn't resolved within a month automatically, my answer is wrong ;-) I hope to spare you a lot of debugging and frustration.
Please note this is already reported to the Chromium Bug Tracker: https://bugs.chromium.org/p/chromium/issues/detail?id=631171
- 11
I have encountered the same problem. For the issue, it is because of the automatic ubuntu login.
So, for the easiest fix, just disable the automatic login.
Disable the automatic login for Ubuntu:
Ubuntu disable automatic login
Disable the automatic login for Ubuntu:
Open terminal
Enter,
sudo nano /etc/lightdm/lightdm.confComment your username,
#autologin-user=MyNameIsSyirasky
- Save and exit, reboot.
- 101
Another solution where you don't need to give Ubuntu access to your entire Google Account:
Go to Passwords & Keys, set a blank password for Default keyring. Restart your system.
- 101
Add on for 2-Factor-Authentication: I did everything in the selected solution and still after reboot, the login was paused.
More further on, I could not log in via the two factor authentication (but SMS worked, but it was annoying to log in each time again by this method), because chrome was not able to note my confirmation done in my smart phone.
And so I had to agree to @Vikas Avnish above. You could reinstall but a shorter solution WITHOUT loosing your tabs for example (and the login) is simply reset the application, which worked for me finally (after taking steps from the preferred solution above!!): Chrome Settings sequence to click
So here the steps in text form:
- Goto chrome settings
- Type in "reset settings" OR
- Choose "Reset
- Settings" on the left pane
- Click on "Restore settings to their original defaults"
- Click on the (blue) button "Reset Settings"
After that it finally worked for me again with the "2-Factor-Authentication"! Plus: I was not loosing any worthful working tabs that I arranged in my two windows.
- 71
I had the same problem, but my system is ubuntu 14.04.
If your system also asked for keyring password every start google chrome (also restart system), i think that because Google chrome cannot get your saved google-password because your saved google-password locked by the keyring. You have to make sure that keyring is unlocked before you start Google chrome, not after. Here is my solution:
- Open google chrome.
- Login back to google account as usual and make sure there is no yellow warning icon before your username at top right corner. (just do it)
- Close google chrome.
- Open up Dash and open User Account, then turn "off" automatic login.
- Restart system.
By turning automatic login to "off", I thought this automatically will unlock keyring every login system, so Google chrome can get your google account password from keyring.
I know there are also another solution about disable keyring (by set keyring password to blank), but i think that is not secure.
I was facing same issues. In new install, I installed chrome as root ( not sudo). After restarting the program worked well. Learning this, I uninstalled chrome from the previous PC and installed it again as root user. Now everything is fine and the annoying login prompt is gone.
sudo -i
apt-get remove google-chrome*
apt-get autoremove
apt-get clean
apt-get install google-chrome-stable
- 122,292
- 133
- 301
- 332
- 141
- 1