When SSH port forwarding this, ensure that X11 forwarding is enabled in /etc/ssh/sshd_config MOZ_NO_REMOTE=1; export MOZ_NO_REMOTE; firefox