xpra icon
Bug tracker and wiki

Opened 7 years ago

Closed 7 years ago

#223 closed enhancement (fixed)

Allow the use of ssh:<host>:<display> for the start subcommand

Reported by: Jon Severinsson Owned by: Antoine Martin
Priority: minor Milestone: 0.9
Component: core Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

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

Change History (3)

comment:1 Changed 7 years ago by Antoine Martin

Description: modified (diff)
Milestone: future0.9
Status: newaccepted

I was thinking of doing exactly what you are suggesting.

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

comment:2 Changed 7 years ago by Antoine Martin

Status: acceptednew

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.

comment:3 Changed 7 years ago by Antoine Martin

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.