I usually start my xpra sessions from the client, using ssh and
--start-child=«cmd». Currently this requires using "
ssh «host» xpra start :«display» --start-child=«cmd»", and if
«cmd» includes spaces and/or " or ', the extra escaping needed is butt-ugly, and easy to get wrong. I'm currently solving this by using an doubly escaping shell script, but it should really be internal to xpra, using the same display syntax as a remote attach (eg
xpra start ssh:«host»:«display» --start-child=«cmd»).
Bonus points if would be possible to start a session and attach to it using a single ssh session, so that a user only has to supply his password once for this common use case. That would probably need a new "start-and-attach" sub command that accepts any options accepted by either "start" or "attach".
I was thinking of doing exactly what you are suggesting.
I don't think this will fit in 0.8, but maybe.
r2790 does this
It would be nice if we could pass more command line options to the remote end (only "
--start-child" options are forwarded), but this will do for now.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/223