Forum Discussion

yuttie's avatar
yuttie
New Contributor
26 days ago

[SOLVED] Browser support error on Gentoo Linux

I finally solved the problem of disabled communication between the browser extensions (Firefox and Google Chrome) and the desktop app on my Gentoo Linux system, so I want to share how I solved and what I learned.

First of all, I'm not using Flatpak or Snap. As official document says, you should install browsers and 1Password app via your system's package manager.

Also, I'm using supported browsers, so I don't need "/etc/1password/custom_allowed_browsers" or "~/.SOME_FORKED_BROWSERS/native-messaging-hosts/com.1password.1password.json". But if you are using such browsers, it will be worth trying.

OK, there was two problems.

The first problem was `BrowserVerificationFailed` or `BrowserProcessVerification(BinaryPermissions)`. This happens when `/opt/1Password/1Password-BrowserSupport`'s group owner is not `onepassword`. In my case, it was `1password`. I noticed when I changed the name by editing /etc/group directly and it solved the problem.

(BTW, we can check if this problem is solved or not by executing `/opt/1Password/1Password-BrowserSupport ~/.mozilla/native-messaging-hosts/com.1password.1password.json {d634138d-c276-4fc8-924b-40a0ea21d284}` in a terminal; it shows something like BrowserVerificationFailed if not solved, but shows UnknownBrowser if solved.)

The other problem was that 1Password-BrowserSupport returns `AppQuit` message. This was probably caused by the inappropriate group id of the `onepassword` group. According to this ebuild (https://github.com/jaredallard/overlay/blob/f738e3c74940a4352cd96c6d95a40eb1b444653f/acct-group/onepassword/onepassword-0.ebuild#L10), it needs to be greater than 1000. In my case, the group ID 1010, with which package manager try to create `onepassword` group, was already occupied by another group, and different number 973 was assigned to `onepassword` group. I manually fixed the problem by correcting `onepassword`'s group ID.

Sorry for my poor English, but I don't have enough time to write better English for the moment.
I hope my sharing the experience will help other people in the Linux community.
Good luck!

No RepliesBe the first to reply