Skip to main content
Oct 11, 2022 4:36 PM UTC
Question

When I login to 1Password on Ubuntu Linux, the Firefox extension does not unlock

On Windows 10, when I log into the 1Password desktop app, my Chrome browser extension unlocks at the same time. However, when I login to the desktop app on Ubuntu Linux, my Firefox browser extension does not unlock... I have to login separately, which is not convenient. Suggestions for me?


1Password Version: 8.9.4
Extension Version: 2.3.8
OS Version: Ubuntu 22.04.1 LTS
Browser:_ Firefox 105.0.3

24 replies

Jul 17, 2023 11:41 AM UTC

Having the same issue, even after installing Firefox from the Mozilla Team PPA. What would be the best way forward in debugging this?

Jul 17, 2023 5:58 PM UTC

Fixed this by adding the following lines to /etc/apparmor.d/usr.bin.firefox:
```

Native Messaging

owner @{HOME}/.mozilla//native-messaging-hosts/ ixr,

1Password extension

/opt/1Password/1Password-BrowserSupport ixr,
/run/user/1000/1Password-BrowserSupport.sock ixr,
/run/user/1000/1Password-BrowserSupport.sock wr,
```

Then I restarted AppArmor with systemctl restart apparmor and now the 1Password Firefox extension unlocks when I unlock the desktop app and vice versa. Solution inspired by https://github.com/keepassxreboot/keepassxc-browser/wiki/Troubleshooting-guide#6-apparmor-with-ubuntu

Jun 23, 2025 3:47 PM UTC

This worked a treat for me (Kubuntu, Firefox via PPA). To clarify the steps (Replace `nano` below with the editor of your choice):

  • Use the "local override" to leave the default policy in place. This will prevent future updates from overwriting your changes.
sudo nano /etc/apparmor.d/local/usr.bin.firefox
  • Add the following content:
# Native messaging
owner @{HOME}/.mozilla/native-messaging-hosts/ ixr,
# 1Password extension
/opt/1Password/1Password-BrowserSupport ixr,
/run/user/1000/1Password-BrowserSupport.sock ixr,
/run/user/1000/1Password-BrowserSupport.sock wr,
  • Save the file and quit the editor
  • Restart the AppArmor service:
sudo systemctl restart apparmor
  • Restart Firefox
AliH1P
1Password Employee
1Password Employee
Jul 18, 2023 2:24 AM UTC

Hey @autostatic, I'm glad to hear you were able to resolve the issue. Thanks for sharing what worked for you!

Ali