Closed Bug 211504 Opened 22 years ago Closed 22 years ago

running "mozilla" a second time does not open a new window; -remote does not work.

Categories

(Core Graveyard :: X-remote, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 122698

People

(Reporter: jwz, Assigned: blizzard)

Details

I just installed Mozilla 1.4. In Mozilla 1.3, doing this in the shell: mozilla & sleep 5 mozilla & would get you two mozilla windows. Now it gets you one window, and then a dialog box asking you to create a profile or some such nonsense. So then I tried mozilla --remote 'openURL(file:/tmp)' That doesn't work either -- it also goes into that profile manager window. Mozilla 1.4 Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Red Hat 7.3
problem a) is a dupe of bug 122698 -> X-Remote for the issue b)
Assignee: law → blizzard
Component: XP Apps: Cmd-line Features → X-remote
QA Contact: sairuh → blizzard
problem b) is a typo.. :) mozilla -remote 'openURL(file:/tmp)' works fine for me. Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4) Gecko/20030622
Right you are... sorry about that.
problem (a) isn't a bug. in 1.3 you probably used an rpm which uses xremote. in 1.4 you probably used a mozilla.org tarball which doesn't.
I don't understand your answer. How can I get the 1.3 behavior back? (Yes, I was using RPMs before and am not now, because I don't have Gnome2, which I gather the new RPMs require.)
Please refer to comment 90 and 91 in bug 122698. In short, the startup script in the RPM builds has code to detect running instance of mozilla, which the regular builds don't.
The shell script that moz distributes isn't that smart.
Sorry, that wasn't really helpful. If you want to use the shell script from the rpms you can: http://lxr.mozilla.org/mozilla/source/build/package/rpm/SOURCES/mozilla.sh.in You will have to replace some paths and whatnot in that shell script, but it's not to hard to get working with a tarball. Also, if you're running Red Hat 8 or something newer you can probably just use the 1.4 rpms which are compiled with gtk2, and should generally work with gnome2 without problems.
Hmm, I guess I'll spin some RH 7.3 builds.
There are 7.3 1.4 builds up now.
Excellent, thanks. The RPMs work great. I suppose, given the baffling warzone that is bug 122698, it would be foolish of me to ask why the RPM behavior has not yet been applied to the non-RPM builds?
Although the problem jwz had (prob a) has more to do with the build he use, it is somewhat related to bug 122698. So mark it as a duplicate. *** This bug has been marked as a duplicate of 122698 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.