On Wed, 2025-03-19 at 08:57 +1100, Stephen Morris via kde wrote:
On 19/3/25 07:40, Steve Cossette via kde wrote:
On Tue, Mar 18, 2025 at 1:04 PM Patrick O'Callaghan via kde kde@lists.fedoraproject.org wrote:
On Tue, 2025-03-18 at 13:41 +0000, Barry via kde wrote: > > > On 18 Mar 2025, at 13:15, Patrick Boutilier via kde <kde@lists.fedoraproject.org> wrote: > > > > A bit off topic, but I have found that if you ssh into a machine, then run Chrome (I believe wayland was being used on source end), the saved passwords don't show up. They do if run locally directly on the machine. I haven't figured out why yet. > > I would guess you need access to the gnome keyring? Passwords yes, but why would the keyring be used for storing cookies? poc
I think the browser stores some kind of user secret in the keyring. And when you switch DE, that secret gets lost, wiping the cookies.
That's my thought, though. But yes, that happens with alot of Chrome-based browsers that I use. Not sure about Firefox ones, I don't use two DEs at a time myself.
I have both installed and sometimes switch between them when a site doesn't conform to the W3C standards and hence doesn't display properly with Firefox, but in my view Chrome doesn't work properly with it cache compared to Firefox. I configure Firefox to wipe cookies and everything else at Firefox shutdown, but I can't get Chrome to do the same thing, it seems to only provide manual functionality.
In that case I'm not surprised you find that sites have "logged you out" when you switch browsers. Cookies are simply a kludge to give the appearance of being "logged in" and not have to repeat credentials with every interaction. If the cookies are gone, this is no longer possible and you have to go through the "login" dialogue again to get new ones.
None of this has anything to do with cacheing.
With that functionality active I haven't found any differences between running either under Gnome or KDE when I switch between the two, and I don't have the browser saving passwords, if I want to save a password I do that on an external electronic device so that they are available in all OS's I run.
I never use browser-based password managers, for the reasons you cite and also because they require a browser to access the passwords and sometimes I may not be using a GUI. I do use a cloud-based PM (Bitwarden) with browser extensions for convenience, but don't rely on the extensions because the app on my phone lets me access anything I need. Anyway, this is wandering off-topic.
I also use Thunderbird with with IMAP and SMTP (if needed) password stored internally, and I don't have any issue with those passwords being used for mail access under both KDE and Gnome when I switch between the two.
Again, passwords and cookies are different things.
poc