On Tue, 24 Apr 2007, greg wm wrote:

>> when you run "firefox http://domain.com", how does it communicate with 
>> the firefox instance already running?  If its using sockets, perhaps 
>> you can use ssh and port forwarding to tunnel things through to the 
>> system that firefox is running on.
>
> well vnc is running via ssh and port forwarding, and firefox was 
> launched inside there, but it's compelling to think that just specifying 
> another port to be forwarded could open a channel to firefox.  do you 
> see clear how that would actually work?


Can you run a remote procedure call (RPC)?  I think there are ways to do 
it with SSH without having to code it from scratch.  If you are C 
programmer, there's always this:

man rpc
man rpc_secure

Mike