From: Ian on
People,

Maybe I am missing something, but I'll risk looking silly...

I am running Xubuntu on an iMac G3. Sometimes I want to run
applications on another computer. So I use

ssh -X otherhost application

and all is well. Except that if I type

ssh -X otherhost firefox

/and/ firefox is running locally, I get prompted or my password on the
other machine ... and then another local instance of firefox starts.
Close the local firefox and the same command runs the remote
application.

I'm baffled. Help!

Ian
From: Ian on
On 22 Jan, 17:01, Ian <ian.gro...(a)btinternet.com> wrote:

> /and/ firefox is running locally, I get prompted or my password on the
> other machine ... and then another local instance of firefox starts.
> Close the local firefox and the same command runs the remote
> application.

Wackier and wackier. If I am running firefox on a remote machine then
any attempt to run firefox locally (either clicking the icon or typing
firefox in a terminal) gets me another copy on the remote machine.

Ian
From: Ian Rawlings on
On 2008-01-22, Ian <ian.groups(a)btinternet.com> wrote:

> Wackier and wackier. If I am running firefox on a remote machine then
> any attempt to run firefox locally (either clicking the icon or typing
> firefox in a terminal) gets me another copy on the remote machine.

This alas is firefox trying to be "smart", it's not you going mad or a
problem with X forwarding, it's just an example of what happens when
developers forget that X can work over a network.

--
Blast off and strike the evil Bydo empire!
From: Nigel Wade on
Ian wrote:

> On 22 Jan, 17:01, Ian <ian.gro...(a)btinternet.com> wrote:
>
>> /and/ firefox is running locally, I get prompted or my password on the
>> other machine ... and then another local instance of firefox starts.
>> Close the local firefox and the same command runs the remote
>> application.
>
> Wackier and wackier. If I am running firefox on a remote machine then
> any attempt to run firefox locally (either clicking the icon or typing
> firefox in a terminal) gets me another copy on the remote machine.
>
> Ian

When firefox starts up it checks if there is already an instance of firefox
which is displaying on the local X server. If there is it sends a message to
that instance asking it to post a new window, and then exits. I'm not sure of
the exact X mechanism it uses, I thought it was the X shared memory extension,
but disabling this with the --no-xshm option doesn't restore normality.

It's a bloody nuisance when you want to have multiple instances of firefox
running on different systems...


--
Nigel Wade
From: Ian on
On 22 Jan, 17:34, Nigel Wade <n...(a)ion.le.ac.uk> wrote:

> When firefox starts up it checks if there is already an instance of firefox
> which is displaying on the local X server. If there is it sends a message to
> that instance asking it to post a new window, and then exits. I'm not sure of
> the exact X mechanism it uses, I thought it was the X shared memory extension,
> but disabling this with the --no-xshm option doesn't restore normality.

Thanks (and to Ian R as well) - that's very clear and helpful. What a
bloody stupid idea.

And while I'm at it, why the hell does firefox stuff live under
~/.firefox while thunderbird is under ~/.mozilla-thunderbird. Don't
these people talk to each other?


And ... relax ...

Ian