Ask Your Question
0

How to keep firefox instances apart

asked 2014-12-01 13:27:12 -0500

takemo gravatar image

On my F20 gnome desktop I have Firefox running most of the time. I also have a server (Centos7) to which I've connected with 'ssh -X' and from where I also run Firefox. The problem is that the gnome desktop doesn't seem to be able to keep these two instances apart. If I have a firefox server instance running then when I try to start firefox from gnome desktop it will bring the up server instance. I have to start firefox from a terminal window with --new-instance flag to get a desktop firefox. Same thing with opening URLs from other application, that might bring up the server instance if it is the older one.

How can I keep these two instances apart?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-12-01 20:39:49 -0500

Firefox is not really a great example because it runs locally even though you connected to Centos over ssh. If you want to run it on Centos and forward it over ssh -X , you need the -no-remote option.

When running firefox over ssh it is far better to use a socks tunnel, see https://calomel.org/firefox_ssh_proxy.html

In terms of keeping them separate, it is not so simple. Consider using 2 profiles with different themes. To start firefox with a new profile, use firefox -P ;) One profile would be configured to run through your (ssh) socks tunnel, the other without socks.

Good luck

edit flag offensive delete link more

Comments

Thanks, the -no-remote option was just what I needed.

takemo gravatar imagetakemo ( 2014-12-02 13:30:19 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-12-01 13:27:12 -0500

Seen: 142 times

Last updated: Dec 01 '14