Maybe it's possible to get rid of connecting the vncviewer to localhost:something. It seems like one can use stdin/stdout instead.
No time for this now. The actual advantages of this are low.
Upstream bug: https://sourceforge.net/tracker/?func=detail&atid=1126849&aid=3477059&group_id=254363
(In reply to comment #2) > Upstream bug: > > https://sourceforge.net/tracker/?func=detail&atid=1126849&aid=3477059&group_id=254363 Note that this would not work for us, since we want to use stdin/stdout for XMLRPC.
OpenSSH 6.7 includes socket forwarding: http://lwn.net/Articles/609321/
No clear reason why this would be an improvement. Closing.