Announcing printerd
Announcing printerd
Posted May 22, 2012 14:31 UTC (Tue) by nix (subscriber, #2304)Parent article: Announcing printerd
- local AF_UNIX sockets with randomly-assigned names in a fixed directory, with a name exported via an environment variable (the default). Local system only, you're on a remote system? Sucks to be you.
- remote IP connection, not really per-session as there is no automatic port assignment, SSH forwarding or anything else. i.e. you can say
<listen>tcp:host=localhost,bind=*,port=10315</listen>
in session.conf, but what you cannot say is 'assign a port automatically, and export it in an environment variable', let alone 'get SSH to forward-and-proxy a connection to the dbus session bus', which would allow a secure session bus across the network. This is not rocket science -- it's the preferred way of handling X connections -- but as far as I can see D-Bus is incapable of it. Am I wrong?
(Obviously doing this securely would involve -- fairly trivial -- changes to OpenSSH as well.)
Posted May 22, 2012 16:22 UTC (Tue)
by randomguy3 (subscriber, #71063)
[Link]
In the case of printerd, I think it's meant to be a purely local printing framework. If you want a print server, run Cups. Or Samba. printerd can then make use of either of those servers, but applications only talk directly to the local printerd (in the same way they might talk directly to a local character device in /dev, say).
And the announcement does suggest that there will be an IPP interface along soon, which is the right way to do printing over the network, really.
Posted May 23, 2012 12:28 UTC (Wed)
by krake (guest, #55996)
[Link] (4 responses)
Can you explain how SSH can be used to forward Unix sockets other than X11's?
I have been looking for that for years but never found any example on how to do that.
Posted May 24, 2012 0:28 UTC (Thu)
by nix (subscriber, #2304)
[Link] (3 responses)
Posted May 24, 2012 9:31 UTC (Thu)
by hppnq (guest, #14462)
[Link] (2 responses)
Posted May 28, 2012 13:01 UTC (Mon)
by nix (subscriber, #2304)
[Link]
Posted May 30, 2012 1:35 UTC (Wed)
by dkg (subscriber, #55359)
[Link]
Posted May 23, 2012 14:57 UTC (Wed)
by Jluis (guest, #28564)
[Link] (1 responses)
Posted May 24, 2012 0:34 UTC (Thu)
by nix (subscriber, #2304)
[Link]
Announcing printerd
Announcing printerd
Since it works for X11 it can't be rocket science but so far all indicators I've seen say that SSH is incapable of it.
Announcing printerd
Perhaps one could use socat.
Announcing printerd
Announcing printerd
Yes, you can certainly use socat with ssh to forward UNIX-domain sockets.
forwarding unix-domain sockets over ssh [was: Announcing printerd]
Announcing printerd
Announcing printerd