Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
3 years agoWhen 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
- AliH1P
1Password Team
Hey @autostatic, I'm glad to hear you were able to resolve the issue. Thanks for sharing what worked for you!
Ali
- Former Member
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- MacDaddyAZNew Contributor
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
- Former Member
Having the same issue, even after installing Firefox from the Mozilla Team PPA. What would be the best way forward in debugging this?
- FrankyO1P
1Password Team
Hi @Peter_Wang,
I'm glad to hear the solution worked for you!
If you have any further questions feel free to contact us anytime!
Franky
- Former Member
Thanks that fixed it!
- 1P_Gem
1Password Team
Hi @Peter_Wang! You can check if you're on the Snap version by running
snap list
in a terminal and seeing whether Firefox is listed. If it does turn out to be the Snap version, you may find the below guide helpful here:I hope this helps, but if you have any further questions, let us know!
- Former Member
Ah yes, I noticed it was auto-updating, so it must be snap. How to I get back to and stay back on the debian version? Thanks.
- FrankyO1P
1Password Team
Hi @Peter_Wang,
I'm sorry to hear you're experiencing this issue again.
Can I have you confirm if you're using the
Snap
version of Firefox? We've had reports where other users had to revert back to theDeb
version after Firefox auto updated.Franky
- Former Member
Hello, I am seeing the issue come up again... I have to enter my master password in the 1Password application and the Firefox extension separately. This is Ubuntu Linux. sudo chown -R root:root /opt/firefox is not resolving it. I closed Firefox 114.0 and 1Password 8.10.7 before running chown. Any ideas?
- FrankyO1P
1Password Team
Hi @Peter_Wang,
Thank you for passing along this information. I'm glad to hear you were able to resolve the issue with those steps!
Franky