When using ssh to run a session on a remote system and issuing the command 'firefox' in the ssh session, it launches an instance of firefox on the local system rather than running it on the remote system and using X forwarding to the display on the local system. This is undesirable as it does not give access to the profile (bookmarks, remembered passwords, cookies etc) belonging to user account on the remote system. Instead it uses the profile belonging to the user which ran the ssh session on the local system. In this particular instance, both local and remote systems are Gentoo ~x86.
https://bugzilla.mozilla.org/show_bug.cgi?id=223105