On 3/31/06, Brendan Halpin <brendan.halpin at ul.ie> wrote:
> I'm puzzled, and more than a little impressed.
>> I'm sitting at home, on the laptop, with (in a gnome-terminal) an
> ssh session to my work machine (via broadband). If I run an
> X-program on my work machine it displays (more or less efficiently)
> on my laptop. As it should.
>> However, if I have firefox running locally on the laptop, an
> invocation of firefox on the work machine will not run it remotely,
> but will cause the laptop firefox to fetch the relevant page. Very
> clever. But how does it do it? In particular, *what* knows that
> I have firefox running on the X-server? Is it ssh? sshd? X?
> Firefox? The FSM?
Well on this machine at least (FC4), /usr/bin/firefox is actually a
script. The main player in this seems to be a beastie called
mozilla-xremote-client which may be network aware - this is left as an
excercise to the OP ;)
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!