[sup-talk] mime-view hook
Andrew Pimlott
andrew at pimlott.net
Thu Apr 23 13:53:36 EDT 2009
On Wed, Apr 22, 2009 at 06:11:40PM -0700, Jon Dugan wrote:
> dumbplumbd listens on port 9937 on your local system for requests. dumbplumb
> sends requests to dumbplumbd. ssh port forwarding is used to proxy the two
> together, eg:
>
> ssh -R 9937:localhost:9937 remotehost
You probably realize this, but... A well-known port doesn't work for
this, because you need one plumber per display session. So the SSH
forwarding needs to use the right plumber on this end and establish a
corresponding session on the other end.
The obvious model for this is SSH agent forwarding. You'd have a
PLUMBER_SOCK variable containing the path to a unix socket, and ssh
would create a unix socket on the other end, forward it there, and set a
new PLUMBER_SOCK variable. The obstacle is, the SSH developers haven't
shown any interest in making the SSH agent forward mechanism availble to
others. See for example
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=294148
If you don't do this, you'll have plumbers stepping on each other, or
you'll have to manage ports manually.
Andrew
More information about the sup-talk
mailing list