Xprint support in OpenSSH?
Roland Mainz
roland.mainz at nrubsig.org
Fri Oct 8 12:20:37 EST 2004
Damien Miller wrote:
> > Does OpenSSH have any plans yet to extend the existing X11 forwarding
> > support to include Xprint - the XOrg standard for printing?
> > Documentation can be found at http://xprint.mozdev.org/docs/
> >
> > The only change required to have Xprint support is to forward the X
> > print server connection referenced by the XPSERVERLIST environment
> > variable similar to the video display server referenced by the
> > DISPLAY environment variable.
>
> We don't have any plans to support this at present - IIRC the protocol
> only allows forwarding of a single X channel.
You don't need to forward multiple X11 connections, it's usually
sufficient to forward the matching ports for the Xprint servers as they
are - like cupsd and lpd - shared between multiple users on a per-host
or per-network basis ((there are exceptions like MacOSX/Darwin where
both video and print Xservers are started per-user instance) - and you
can't steal keystrokes etc. as Xprt is non-interactive (no keyboard, no
mouse) - the worst thing which could be done (in theory!) would be to
submit another print job to a printer) and modify the XPSERVERLIST
environment variable on the other side. In theory this can be done via
wrapper scripts but the task is non-trivial - direct support within
OpenSSH would be much more painless than the wrapper script hack.
> There was some discussion on the ietf-ssh at netbsd.org mailing list back
> in April on the issue of multiple X forwardings, but it seems to have
> fizzled out without producing a complete spec.
Is the discussion somewhere archived ?
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
More information about the openssh-unix-dev
mailing list