See the title, I am using the same application in both cases and same account, but I have to login again everytime, which is not expected behavior. If I leave i3, go on Ubuntu desktop and back on i3, I lost all the cookies saved in i3.
Ubuntu version:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
Google chrome version Google Chrome 95.0.4638.69
.
i3 version: i3 version 4.18.2 (2020-07-26) © 2009 Michael Stapelberg and contributors
Possible duplicate of this unresolved post from 2017 and this unresolved post from beg 2021.
I ran into a similar problem switching from KDE to Cinnamon and was surprised to find few answers on the internet. The issue appears to be related to desktop environments relying on different password stores. In my case, I could load a logged-in chrome within Cinnamon by running:
since my logins were made from within KDE. (This makes very little sense and may be a bug since kwallet manager shows zero stored Chrome Keys, and chrome appears to be using its internal password store, not my DE's.)
In the case of i3, I came across this helpful comment.
It appears that chrome is not trying to be smart enough. It does not make an attempt to look for different keyrings that might be in use, but simply makes a guess based on the DE it finds itself in.