On Tue, 15 Jun 2010 09:18:04 +0200
Gregor Best <gbe_AT_ring0.de> wrote:
> On Mon, Jun 14, 2010 at 11:50:40PM -0700, Robert Ransom wrote:
> > [...]
> > That > *is* somewhat unusual
> > [...]
>
> Where exactly is the difference between running
>
> DISPLAY=foo:0.0 bar
>
> on a remote machine via ssh as opposed to running the very same command
> from an xterm on the remote machine?
(I assume you are talking about an xterm whose DISPLAY is 'foo:0'.) The
difference is that if you run bar on foo:0 from an xterm on foo:0, bar
will probably have D-Bus environment variables for foo:0 in its
environment, whereas if you run bar on foo:0 from an xterm on baz:0,
bar may have D-Bus environment variables for baz:0 in its environment.
(At the moment, I think ssh does not forward D-Bus environment junk,
but that 'feature' could be added fairly easily.)
The protocol they were discussing would have had bar display its own UI
using $DISPLAY and send a startup notification using the D-Bus
connection specified in its environment.
Robert Ransom
This archive was generated by hypermail 2.2.0 : Tue Jun 15 2010 - 07:48:02 UTC