Xpra: Ticket #223: Allow the use of ssh:: for the start subcommand

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".



Thu, 13 Dec 2012 18:25:28 GMT - Antoine Martin: status, description, milestone changed

I was thinking of doing exactly what you are suggesting.

I don't think this will fit in 0.8, but maybe.


Mon, 25 Feb 2013 11:29:54 GMT - Antoine Martin: status changed

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.


Mon, 25 Feb 2013 11:30:03 GMT - Antoine Martin: status changed; resolution set


Sat, 23 Jan 2021 04:48:52 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/223