After rebooting I need to log in each time in Chrome
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
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.
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