Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MOZ_NO_REMOTE Question

0 views
Skip to first unread message

Bob

unread,
Dec 25, 2006, 2:06:27 AM12/25/06
to
With recent Firefox installs, the only way to get the profile manager is
to use the MOZ_NO_REMOTE switch in environmental variables in Windows.
Doing that starts the Profile Manager every time and I can choose my
profile, because I have multiple installs.

However, no that I have done this, HTML files in other applications, say
in this newsgroup, no longer open in the existing FF app, but try to
start a whole new Firefox session!

There is supposedly a workaround for this, possibly involving a batch
file. Does anyone know how to do this?

Snagglepuss

unread,
Dec 25, 2006, 3:51:11 AM12/25/06
to
you can get FF command line options from here:
http://www.mozilla.org/docs/command-line-args.html

--
"Oh! Heavens to Murgatroid. Exit, Stage Left!" -- Snagglepuss
http://www.toonopedia.com/snaggle.htm

Blizzard fails to derail NORAD Tracks Santa operations:
http://www.norad.mil/newsroom/news_releases/2006/121406.html

Norad Tracking of Santa on his journey:
http://www.noradsanta.org/index.php
[you need flash]

Please do not email me for help. Reply to the newsgroup only. Thanks

Bob

unread,
Dec 25, 2006, 5:57:32 AM12/25/06
to
Tony Mechelynck wrote:
> To list the principal command-line options (in the Dos Box):
>
> firefox -h |more
>
> The redirection |more (or >firefox.txt etc.) is important, especially on
> Windows release (non-debug) versions of Firefox et al.: with no
> redirection, there will be no output (in that case Firefox writes the
> output after being disconnected from its sysout, so in effect the output
> is written to the NUL device). This is a known bug.
>
> To start with profile manager (from the Dos Box or from the Alt-F2 "Run
> program" popup):
>
> firefox -ProfileManager

What happens if I just click on the Firefox 1.5.0.9 icon on my desktop?
I assume it loads without the profile manager, correct? If so, which
profile does it use (I have 2 profiles on my system).
>
> The MOZ_NO_REMOTE environment variable or the (undocumented or poorly
> documented) -no-remote command-line switch (which have the same effect)
> are required if you want to launch several instances of the program in
> parallel. That is rarely necessary. *Without* them, a URI or an HTML
> file will be opened in an existing instance if there is one.

I haven't run 2 instances of FF yet. I thought I might want to to use
FF2's spellchecker, but I haven't done so yet. I find FF2 to be quite
unstable, which is why I am still on 1.5x.

Tony Mechelynck

unread,
Dec 25, 2006, 6:16:06 AM12/25/06
to

It uses the default profile, usually the one you used latest. If no default
profile is defined, it opens the only profile, or the profile manager if there
are several. If it finds no profiles, as the first time you install Firefox,
then it creates a default profile. If the default or only profile is "in use"
you get an error message ("Firefox is running but not responding"). In older
versions (NS6), the profile manager opened.

>>
>> The MOZ_NO_REMOTE environment variable or the (undocumented or poorly
>> documented) -no-remote command-line switch (which have the same
>> effect) are required if you want to launch several instances of the
>> program in parallel. That is rarely necessary. *Without* them, a URI
>> or an HTML file will be opened in an existing instance if there is one.
>
> I haven't run 2 instances of FF yet. I thought I might want to to use
> FF2's spellchecker, but I haven't done so yet. I find FF2 to be quite
> unstable, which is why I am still on 1.5x.

Firefox is not "meant" for running more than one instance in parallel. (those
no-remote switches are supposed to be for debugging.) If ever you decide to
run several instances in parallel (which is not recommended), be sure to use
different profiles.

Which "instabilities" did you notice? Fx2 doesn't seem any more unstable to me
than Fx1.5.


Best regards,
Tony.

Bob

unread,
Dec 25, 2006, 7:44:15 AM12/25/06
to

How do I go about assigning a default profile and how do I know if one
is assigned?

>> I haven't run 2 instances of FF yet. I thought I might want to to use
>> FF2's spellchecker, but I haven't done so yet. I find FF2 to be quite
>> unstable, which is why I am still on 1.5x.
>>

> Which "instabilities" did you notice? Fx2 doesn't seem any more unstable
> to me than Fx1.5.
>

Hard locks my system on various websites. Previous versions would often
lock, really just stall and freeze, but if you waited a while they would
start responding again. FF2 never responds again and has to be killed.
As a blogger though, I really like the spellchecker.

Lot of ppl seem to be having problems with FF2. Further, 3 extensions do
not work anymore. I'm a conservative guy and I tend to be really wary
about the latest versions. I stay on the latest version that is most
stable and functional for me.

Jay Garcia

unread,
Dec 25, 2006, 10:24:38 AM12/25/06
to
On 25.12.2006 01:48, Tony Mechelynck wrote:

--- Original Message ---

> To list the principal command-line options (in the Dos Box):
>
> firefox -h |more

That does not work, at least in XP it doesn't and I've never known FF to
have a -h command line function.

--
Jay Garcia Netscape/Mozilla Champion
UFAQ - http://www.UFAQ.org

Jay Garcia

unread,
Dec 25, 2006, 10:26:32 AM12/25/06
to
On 25.12.2006 09:24, Jay Garcia wrote:

--- Original Message ---

> That does not work, at least in XP it doesn't and I've never known FF to
> have a -h command line function.

Forgot to add that it only works in debug builds.

Jay Garcia

unread,
Dec 25, 2006, 10:29:10 AM12/25/06
to
On 25.12.2006 06:44, Bob wrote:

--- Original Message ---

>> It uses the default profile, usually the one you used latest. If no
>> default profile is defined, it opens the only profile, or the profile
>> manager if there are several.
>
> How do I go about assigning a default profile and how do I know if one
> is assigned?
>

You can assign any name to your profile(s) in profilemanager. Then you
can create a desktop shortcut, such as:

"/ .... /firefox.exe" -p profilename

Nir

unread,
Dec 25, 2006, 10:34:16 AM12/25/06
to
"You can run two instances of Firefox using separate profiles if you set
MOZ_NO_REMOTE environment variable to 1. For example, on Windows you can
use the following bat file to run Firefox with development profile,
whether "normal" Firefox is already running or not. (Assuming your
development profile is called "dev"):

set MOZ_NO_REMOTE=1
firefox -P dev

To run Firefox with default profile just run "firefox" or "firefox -P
default", as usual. See article on the Profile Manager for more info on
creating a new profile in Firefox. "
[http://kb.mozillazine.org/Setting_up_extension_development_environment]

"...start a whole new Firefox session!" - so it's a natural behavior .

Tony Mechelynck

unread,
Dec 25, 2006, 1:02:38 PM12/25/06
to

Tick (or untick?) the checkbox in the Profile Manager, so that the Profile
Manager doesn't appear next time. The profile you choose will be set as default.

>
>>> I haven't run 2 instances of FF yet. I thought I might want to to use
>>> FF2's spellchecker, but I haven't done so yet. I find FF2 to be quite
>>> unstable, which is why I am still on 1.5x.
>>>
>> Which "instabilities" did you notice? Fx2 doesn't seem any more
>> unstable to me than Fx1.5.
>>
> Hard locks my system on various websites. Previous versions would often
> lock, really just stall and freeze, but if you waited a while they would
> start responding again. FF2 never responds again and has to be killed.
> As a blogger though, I really like the spellchecker.
>
> Lot of ppl seem to be having problems with FF2. Further, 3 extensions do
> not work anymore. I'm a conservative guy and I tend to be really wary
> about the latest versions. I stay on the latest version that is most
> stable and functional for me.

Best regards,
Tony.

Tony Mechelynck

unread,
Dec 25, 2006, 1:06:29 PM12/25/06
to
Jay Garcia wrote:
> On 25.12.2006 01:48, Tony Mechelynck wrote:
>
> --- Original Message ---
>
>> To list the principal command-line options (in the Dos Box):
>>
>> firefox -h |more
>
> That does not work, at least in XP it doesn't and I've never known FF to
> have a -h command line function.
>

Did you start it *in the Dos Box* (at the CMD.EXE command-line) ? I used to
have Firefox on XP, and it worked perfectly for me.

Netscape, Mozilla, Firefox, Thunderbird, Seamonkey, and probably the others
too, always had a -h (help) command-line argument, to print a usage summary on
sysout; but on some systems such as Windows, redirection is necessary for that
output to appear.


Best regards,
Tony.

Tony Mechelynck

unread,
Dec 25, 2006, 1:08:24 PM12/25/06
to
Jay Garcia wrote:
> On 25.12.2006 09:24, Jay Garcia wrote:
>
> --- Original Message ---
>
>> That does not work, at least in XP it doesn't and I've never known FF to
>> have a -h command line function.
>
> Forgot to add that it only works in debug builds.
>

It works for all builds if you use redirection (such as "|more" without the
quotes) at the command prompt.


Best regards,
Tony.

CBFalconer

unread,
Dec 25, 2006, 6:38:43 AM12/25/06
to
Tony Mechelynck wrote:
>
... snip ...

>
> To list the principal command-line options (in the Dos Box):
>
> firefox -h |more
>
> The redirection |more (or >firefox.txt etc.) is important, especially on
> Windows release (non-debug) versions of Firefox et al.: with no redirection,
> there will be no output (in that case Firefox writes the output after being
> disconnected from its sysout, so in effect the output is written to the NUL
> device). This is a known bug.

Under W98 (ffox is an alias):

c:\>ffox -h | less
Access denied "C:\WINDOWS\TEMP\5D5DF998.000"
Missing filename ("less --help" for help)

less is the DJGPP version of GNU less.

--
Merry Christmas, Happy Hanukah, Happy New Year
Joyeux Noel, Bonne Annee.
Chuck F (cbfalconer at maineline dot net)
<http://cbfalconer.home.att.net>

Tony Mechelynck

unread,
Dec 25, 2006, 4:45:25 PM12/25/06
to
CBFalconer wrote:
> Tony Mechelynck wrote:
> ... snip ...
>> To list the principal command-line options (in the Dos Box):
>>
>> firefox -h |more
>>
>> The redirection |more (or >firefox.txt etc.) is important, especially on
>> Windows release (non-debug) versions of Firefox et al.: with no redirection,
>> there will be no output (in that case Firefox writes the output after being
>> disconnected from its sysout, so in effect the output is written to the NUL
>> device). This is a known bug.
>
> Under W98 (ffox is an alias):
>
> c:\>ffox -h | less
> Access denied "C:\WINDOWS\TEMP\5D5DF998.000"
> Missing filename ("less --help" for help)
>
> less is the DJGPP version of GNU less.
>

Try more (the "more" command that comes with Windows). If even that doesn't
work, try

firefox.exe -h >firefox.txt
less firefox.txt


Best regards,
Tony.

Bob

unread,
Dec 25, 2006, 4:46:19 PM12/25/06
to
Jay Garcia wrote:
> On 25.12.2006 06:44, Bob wrote:
>
> --- Original Message ---
>
>>> It uses the default profile, usually the one you used latest. If no
>>> default profile is defined, it opens the only profile, or the profile
>>> manager if there are several.
>> How do I go about assigning a default profile and how do I know if one
>> is assigned?
>>
>
> You can assign any name to your profile(s) in profilemanager. Then you
> can create a desktop shortcut, such as:
>
> "/ .... /firefox.exe" -p profilename

Is the name of the profile:

6ks7i1oi.Firefox 2.0

or

Firefox 2.0

Ie, do I have to include the obvious hash at the beginning?

Target: C:\Programs\Firefox\firefox.exe -p 1.5.0.9

Like that? (For the 1.5.0.9?)

Bob

unread,
Dec 25, 2006, 4:47:27 PM12/25/06
to
Thx.

CBFalconer

unread,
Dec 25, 2006, 6:42:32 PM12/25/06
to

only the direct redirection to a file works.

MalcolmO

unread,
Dec 26, 2006, 1:47:24 AM12/26/06
to
> There is supposedly a workaround for this, possibly involving a batch file.

IMO, too complicated. Don't use an environment variable. If you want the
profile manager every time you start up, just right-click the Start menu
shortcut for Firefox and in the Target: box, add a space and then
-profilemanager

Works for me. You can also give it a shortcut key like Ctrl+Alt+P or F
or whatever you like.

Ron Hunter

unread,
Dec 26, 2006, 3:41:11 AM12/26/06
to
I have found FF2 to be solid as any version. It might be that you need
to settle on one version, or, at least, maintain separate profiles.
The program will start with the last profile used, normally. You can
override this by putting the desired profile in the command for starting
the application from the desktop.


--
Ron Hunter rphu...@charter.net

Bob

unread,
Dec 26, 2006, 5:44:26 AM12/26/06
to

Done. FF2 and FF1.5.0.9 run on separate profiles. 1.5.0.9 works great
and FF2 is kinda bad. Either one starts with profile manager and lets me
choose. FF2 runs fine for a while til some site hardlocks it.

Bob

unread,
Dec 26, 2006, 5:48:53 AM12/26/06
to

"C:\Programs\Firefox 2.0\Mozilla Firefox\firefox.exe -profilemanager"

Didn't work.

"C:\Programs\Firefox 2.0\Mozilla Firefox\firefox.exe" - profilemanager

I guess this is how you do it?

Jay Garcia

unread,
Dec 26, 2006, 6:18:42 PM12/26/06
to

--- Original Message ---

Is that what you named your profile?

Jay Garcia

unread,
Dec 26, 2006, 6:20:21 PM12/26/06
to

--- Original Message ---

Yes, it doesn't .. and never has. Did you have a debug build as that is
the only way it works.

Jay Garcia

unread,
Dec 26, 2006, 6:21:54 PM12/26/06
to
On 26.12.2006 04:48, Bob wrote:

--- Original Message ---

> "C:\Programs\Firefox 2.0\Mozilla Firefox\firefox.exe" - profilemanager
>
> I guess this is how you do it?

Yes, that is the correct syntax.

Tony Mechelynck

unread,
Dec 26, 2006, 7:21:06 PM12/26/06
to
Jay Garcia wrote:
> On 25.12.2006 12:06, Tony Mechelynck wrote:
>
> --- Original Message ---
>
>> Jay Garcia wrote:
>>> On 25.12.2006 01:48, Tony Mechelynck wrote:
>>>
>>> --- Original Message ---
>>>
>>>> To list the principal command-line options (in the Dos Box):
>>>>
>>>> firefox -h |more
>>> That does not work, at least in XP it doesn't and I've never known FF to
>>> have a -h command line function.
>>>
>> Did you start it *in the Dos Box* (at the CMD.EXE command-line) ? I used to
>> have Firefox on XP, and it worked perfectly for me.
>>
>> Netscape, Mozilla, Firefox, Thunderbird, Seamonkey, and probably the others
>> too, always had a -h (help) command-line argument, to print a usage summary on
>> sysout; but on some systems such as Windows, redirection is necessary for that
>> output to appear.
>>
>>
>> Best regards,
>> Tony.
>
> Yes, it doesn't .. and never has. Did you have a debug build as that is
> the only way it works.
>

I don't know -- and since I'm not on XP anymore, I can't go check.


Best regards,
Tony.

Bob

unread,
Dec 26, 2006, 8:41:39 PM12/26/06
to
Jay Garcia wrote:
> On 25.12.2006 15:46, Bob wrote:
>
> --- Original Message ---
>
>> Jay Garcia wrote:
>>> On 25.12.2006 06:44, Bob wrote:
>>>
>>> --- Original Message ---
>>>
>>>>> It uses the default profile, usually the one you used latest. If no
>>>>> default profile is defined, it opens the only profile, or the profile
>>>>> manager if there are several.
>>>> How do I go about assigning a default profile and how do I know if one
>>>> is assigned?
>>>>
>>> You can assign any name to your profile(s) in profilemanager. Then you
>>> can create a desktop shortcut, such as:
>>>
>>> "/ .... /firefox.exe" -p profilename
>> Is the name of the profile:
>>
>> 6ks7i1oi.Firefox 2.0
>>
>> or
>>
>> Firefox 2.0
>>
>> Ie, do I have to include the obvious hash at the beginning?
>>
>> Target: C:\Programs\Firefox\firefox.exe -p 1.5.0.9
>>
>> Like that? (For the 1.5.0.9?)
>
> Is that what you named your profile?

Yes.

I am now doing

Target: C:\Programs\Firefox\firefox.exe - profilemanager

Instead. I think I like that better.

MalcolmO

unread,
Dec 27, 2006, 3:28:47 PM12/27/06
to
> "C:\Programs\Firefox 2.0\Mozilla Firefox\firefox.exe" - profilemanager
>
> I guess this is how you do it?

That's it, Bob. I would've said "inside the quote" if that was required. ;)

0 new messages