I am looking at KeePassXC on my Linux Mint Cinnamon system. The installation and initial usage all went well, following the built-in tutorial; but there is a problem with Firefox integration.
After adding KeePassXC-Browser to Firefox, I had an error from the add-on:
Cannot connect to KeePassXC. Check that browser integration is enabled in KeePassXC settings.
The browser integration is enabled. I guess that the error occurs because I am running Firefox under firejail, so I plan to run KeePassXC under firejail also.
I am having problems running KeePassXC under firejail. I even can’t run KeePassXC from the command-line. Initially, I got an error that the executable was missing. I found it under /var/lib/flatpak/app and created a link. Then I got an error that shared library libqrencode.so.4 was not found.
This question is not about shared libraries, I know about $LD_LIBRARY_PATH, but I don’t know why the installation did not set up those things. There is nothing relevant in /etc/ld.so.conf.d or in $LD_LIBRARY_PATH. It almost seems that the installation is incomplete, but the GUI Software Manager reported no errors.
How do I run KeePassXC from the command line? Is my guess valid that firejail is isolating Firefox from KeePassXC? Can I run KeePassXC with firejail? Does anyone have any tips about running these three together?
(I am running the latest versions of Mint and the applications.)
Any help would be appreciated.
keepassxc.profilein/etc/firejail, it has this linenoblacklist ${HOME}/.mozillawhich is needed for firefox integration. However, as I said, you cannot use it with flatpak.flatpakapp, I did not mean firejail, I meantkeepassxc.snaps andflatpaks have their own type of sandboxing, and currently it is not possible to usefirejailwith aflatpakapp. If you getkeepassxcfrom the Linux Mint repos (or an officialdebpackage, if there is any), then you would be able to usefirejailwithkeepassxcflawlessly.firejail --debug firefox,firejail --debug keepassxcandwhich keepassxcoutput to your question.