To launch another instance of mozilla without being hindered by the profile manager, use the following shell script. Most of it comes from
seawood@netscape.com in an ealier release, but adapted here for 1.6. Just plugin your <installation path>.
#!/bin/sh
#
# Variables
#
MOZ_DIST_BIN="<installation path>"
MOZ_PROGRAM="<installation path>/mozilla-bin"
MOZ_CLIENT_PROGRAM="<installation path>/mozilla-xremote-client"
check_running () {
$MOZ_CLIENT_PROGRAM 'ping()' 2>/dev/null >/dev/null
RETURN_VAL=$?
if [ "$RETURN_VAL" -eq "2" ]; then
echo 0
return 0
else
echo 1
return 1
fi
}
# check to see if there's an already running instance or not
ALREADY_RUNNING=`check_running`
# If there is no command line argument at all then try to open a new
# window in an already running instance.
if [ "${ALREADY_RUNNING}" -eq "1" ] && [ -z "$1" ]; then
exec $MOZ_CLIENT_PROGRAM "xfeDoCommand(openBrowser)" 2>/dev/null >/dev/null
else
exec "$MOZ_DIST_BIN/run-mozilla.sh" $script_args "$MOZ_DIST_BIN/mozilla-bin" "$@"
fi