Great explanation, Bob -- thanks!  I was using mozilla itself at first,
then galeon, and now phoenix (phoenix is almost perfect for me, it'll be
0.6 real soon now).  It struck me as a little odd, since when I do
remote X over SSH, I expect window-forwarding, yet this solution is much
more elegant and speedy.  The only confusion it might cause, is if you
think you've started a browser on the remote machine, and try to do file
operations (or use a file:// url) you will [hopefully] notice that the
browser is on your local machine... Well thanks again Bob.  Happy
weekend...

ciao,

   Ben B

PS - Does the "K" world (ie, KDE and others) have such an xremote-client
or similar?  Do you know of other application-starting use than web
browsers?  It seems like it'd be a handy way to control xmms.... 

On Sat, 2003-03-22 at 08:07, Bob Miller wrote:
> Ben Barrett wrote:
> 
> > Check this out, though; a quick
> > story about me being impressed at the integration of Gnome:  when I
> > remote-ssh my evolution session, links open in a local browser session. 
> 
> Are you running Mozilla (or a derivative) as your browser?  Here's
> how it works, and it's not Gnome-specific.
> 
> The X Window System has the notion of a "property" which can be
> attached to any window.  A property is a name and a bit of binary data
> (usually a text string).  Any X client can set properties on any
> window, and any X client can request an event (XPropertyEvent)
> whenever a property changes on a given window.
> 
> You can examine and set window properties using the xprop program.
> 
> Mozilla uses X properties to communicate between Mozilla and a program
> called mozilla-xremote-client.  The xremote-client sets a property on
> the root window of your X display which Mozilla interprets as "open a
> window with this URL".  It's actually more complicated than that --
> they do a handshake, etc.  But the net effect [sic] is that any
> program that can access your X display can send commands to Mozilla.
> That's kind of the point of X being a network-transparent window
> system.
> 
> The mozilla top level shell script can invoke mozilla-xremote-client
> for you.  Here is the documentation of its functionality.  You can use
> this trick to invoke mozilla from a shell script, Perl, Python, or a C
> program (obviously).
> 
> 
>       http://www.mozilla.org/unix/remote.html
> 
> Of course, if you're not using Mozilla (nor Galeon nor epiphany nor
> skipstone nor ...) then this doesn't apply.

_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to