Re: strange firefox behavior with X tunneling via ssh



In article <D6q0j.18888$4V6.2888@xxxxxxxxxxxxxxxxxxxxxxxxxx>
ddunham@xxxxxxxx (Darren Dunham) writes:
Randy Yates <yates@xxxxxxxx> wrote:
If I'm on system a as user a and I ssh (using X tunneling via ssh -XC)
into system b as user b and run firefox as user b so that firefox
is displayed on system a over X, then if I run firefox on system a as
user a (from the gui) firefox starts with user b's bookmarks and other
contextual info (cookies, etc.)!

Why is this happening?

Pure guess here, but... It is possible that rather than "running"
firefox on 'a', it is first checking the X server to see if an instance
is already running. If so, it can then send the running firefox an X
command to "start a new window".

From my experience, this is indeed the standard behaviour of firefox -
most annoying even in less complex situations than the one described by
Randy, e.g. if you just need to run separate local and a remote
firefoxes as the *same* user (e.g. because the remote will be able to
access servers that the local will not). You get a separate indication
that this is what is happening by way of the "subsequent" firefox
exiting immediately after opening the new window/tab, while a "real"
firefox will not do that of course.

ISTR that I found that giving it an option argument made it change this
behaviour and actually start a new, separate process, but I think this
may just have been an artifact of the (possibly FreeBSD-specific)
wrapper script - with a current FreeBSD install, that only makes it open
a new window instead of a new tab (i.e. if you haven't configured it to
open new pages in tabs, there will be no difference).

Of course to be fair the behaviour is quite convenient in many cases too
(just say 'firefox <url>' and it opens in the existing browser), but it
sure would be nice to be able to turn it off - and there may well be a
"standard" way to do that, but for some reason I can't find the man
page...

--Per Hedeland
per@xxxxxxxxxxxx



.



Relevant Pages

  • Re: Browsers browsers
    ... :> then opens in another window to see the line with the error. ... They also don't support JScript, but MSFT, supports Javascript. ... :> I click on "Mozilla FireFox Help". ...
    (microsoft.public.scripting.jscript)
  • Re: [opensuse] Opening same application on different desktops
    ... like OpenOffice.org or Firefox on 4 ... When a new link is opened in a new window, sometimes it opens in one ... of the other Desktops. ...
    (SuSE)
  • Re: about:blank problem
    ... When hitting an URL from an email message, Firefox opens the ... window but two seconds later, IE7 opens an about:blank window. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: [SLE] fox and dinosaur
    ... > When firefox is open (at least one window), ... > on mozilla icon opens another window of firefox ...
    (SuSE)
  • Re: IE 6
    ... IE's address bar and hit enter, it opens a FireFox window to load the URL ...
    (microsoft.public.windowsxp.general)