Run parallel installs at the same time

Hi,

I activated parallel installs for Firefox but I cannot run two different instances at the same time, it always open the one already open. I can notice it by looking at the bookmarks created.

I did:

sudo snap set system experimental.parallel-instances=true
sudo snap install firefox_personal
sudo snap install firefox_work

And when I do

snap run firefox_personal

Then:

snap run firefox_work

It opens the firefox_personal instance

I can only use the firerox_work instance If I close firefox_personal

Any ideas?

Where does the firefox snap save it’s profile data? If it stores it in $SNAP_USER_DATA or $SNAP_USER_COMMON, then this shouldn’t be happening for you AIUI, but if firefox saves it’s data inside $HOME directly, then I could see this happening

This are the variables for firefox_personal:

snap run --shell firefox_personal
env | grep SNAP_
SNAP_DESKTOP_RUNTIME=/snap/firefox/500/gnome-platform
SNAP_USER_DATA=/home/user/snap/firefox_personal/500
SNAP_INSTANCE_KEY=personal
SNAP_REAL_HOME=/home/user
SNAP_USER_COMMON=/home/user/snap/firefox_personal/common
SNAP_COMMON=/var/snap/firefox/common
SNAP_NAME=firefox
SNAP_INSTANCE_NAME=firefox_personal
SNAP_DATA=/var/snap/firefox/500

And I can see that different profiles.ini are in

/home/user/snap/firefox_personal/common/.mozilla/firefox/profile.ini
/home/user/snap/firefox_work/common/.mozilla/firefox/profile.ini

Thank you all, running Firefox with --no-remote does the trick!

So now I can have my personal stuff without worrying about them mixing!

ps. I even disconnected home and removable-media interfaces