Brave on Arch Linux logs me out of everything and removes my computer from sync chain when I restart PC

Description of the issue:
When I turn restart my computer, I am logged out of everything and removed from my sync chain. When I look on my phone, my computer is still in the chain but when I go to my computer, it does not show that I am on a sync chain.
How can this issue be reproduced?

  1. login to a website with brave
  2. restart computer
  3. I open the browser and I am logged out of the sites I was logged in to
  4. check sync chain in settings and it says I can start using sync chain

Expected result: I expected to be still logged and I expect to see that I am still on my sync chain

Brave Version( check About Brave): v1.63.169

Additional Information:
I have nothing selected under the settings -> Privacy and security -> Clear browsing data -> On exit screen. In the settings -> Privacy and security -> Third-party cookies I have allowed third party cookies. I have uninstalled and reinstalled brave to try to fix this issue and it did not work. I have also deleted the ~/.config/BraveSoftware directory to try to fix this issue and it did not work.

2 Likes

I have the exact same issue.
Currently running Hyprland on Arch linux, with the brave beta build Version 1.65.87 Chromium: 123.0.6312.46 (Official Build) beta (64-bit)

I can add the machine to the sync chain but after restarting Hyprland (tiling window manager) I get logged out and thrown out of sync chain. It doesn’t even require a system restart for me. Highly annoying would love a fix.

1 Like

I have found a solution!

It seems brave stores the keys/credentials in the KDEwallet which is started on brave launch, however to me, the reason for the issue seemed to be brave browser launching before the wallet was unlocked and therefore brave would not have permission to read any of the keys/credentials.

My solution was as simply as installing “kwallet-pam” to have the wallet unlock on system start (which is enough as long as your user password is the same as your kde wallet password) and then I installed “kwalletmanager” which has to be launched from command line with “kwalletmanager5” and then I simply set my password to nothing. This is less secure but my arch installation is on an encrypted volume so I don’t worry about it too much. Now my wallet is unlocked on system startup which means brave always has access to the sync keys and I am therefore no longer being throw out of my sync chain.

3 Likes

Interesting to hear that @backflip . I’m going to tag in @Mattches so he’s aware and the team might be able to discuss it. Not sure if any improvements can be made, but at least has info on the radar as another step in the troubleshooting process with people.

@_guy sorry for the silence. Did you ever get things figured out or still having issues?

1 Like

The solution given by backflip is working for me

2 Likes