Opening a new instance of your Mozilla application with another profile: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(added that you can also open the Profile Manager with -no-remote - see Talk:Creating a new Firefox profile on Windows)
(linked to Profile in use)
Line 3: Line 3:
When Firefox is running and you try to open another Firefox process, a new  window is opened instead, in the already running process.  You can use the '''-no-remote''' command line option along with the  '''-P''' option to select a different profile, to start a new Firefox process that is invisible to the first process.  [http://forums.mozillazine.org/viewtopic.php?p=3173145#3173145]  Selecting a different profile from the one used in the first process is necessary because [[Profile in use|profiles are "locked" when in use]].   
When Firefox is running and you try to open another Firefox process, a new  window is opened instead, in the already running process.  You can use the '''-no-remote''' command line option along with the  '''-P''' option to select a different profile, to start a new Firefox process that is invisible to the first process.  [http://forums.mozillazine.org/viewtopic.php?p=3173145#3173145]  Selecting a different profile from the one used in the first process is necessary because [[Profile in use|profiles are "locked" when in use]].   


'''Important:'''  Never use -no-remote to start the "default" profile (the one that is set to open without asking when you launch Firefox).  That's because when you launch Firefox, for example,  by clicking a link in your mail program, you will get an "already running" message if the default profile is already in use.  The solution is to always start the default profile normally and launch all others with -no-remote. Then it will work. [http://forums.mozillazine.org/viewtopic.php?p=3202348#3202348]
'''Important:'''  Never use -no-remote to start the "default" profile (the one that is set to open without asking when you launch Firefox).  That's because when you launch Firefox, for example,  by clicking a link in your mail program, you will get a [[Profile in use|Firefox is already running but is not responding]] message if the default profile is already in use.  The solution is to always start the default profile normally and launch all others with -no-remote. Then it will work. [http://forums.mozillazine.org/viewtopic.php?p=3202348#3202348]


You can use a [[shortcut to a specific profile]] to open Firefox using -no-remote.  For example,  to open a profile named "My Profile" using -no-remote,  enter the following in the Target field of a Windows desktop shortcut (adjust the path, if different):
You can use a [[shortcut to a specific profile]] to open Firefox using -no-remote.  For example,  to open a profile named "My Profile" using -no-remote,  enter the following in the Target field of a Windows desktop shortcut (adjust the path, if different):

Revision as of 19:24, 21 October 2008

This article explains how to use the -no-remote command line option in Firefox 2 and above, so that multiple instances of Firefox can be opened at the same time using separate profiles.

When Firefox is running and you try to open another Firefox process, a new window is opened instead, in the already running process. You can use the -no-remote command line option along with the -P option to select a different profile, to start a new Firefox process that is invisible to the first process. [1] Selecting a different profile from the one used in the first process is necessary because profiles are "locked" when in use.

Important: Never use -no-remote to start the "default" profile (the one that is set to open without asking when you launch Firefox). That's because when you launch Firefox, for example, by clicking a link in your mail program, you will get a Firefox is already running but is not responding message if the default profile is already in use. The solution is to always start the default profile normally and launch all others with -no-remote. Then it will work. [2]

You can use a shortcut to a specific profile to open Firefox using -no-remote. For example, to open a profile named "My Profile" using -no-remote, enter the following in the Target field of a Windows desktop shortcut (adjust the path, if different):

"C:\Program Files\Mozilla Firefox\firefox.exe" -P "My Profile" -no-remote 

Note: You can also open the Profile Manager with Firefox already running, by using -P -no-remote without including a profile name.