xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 10 years ago

Closed 9 years ago

Last modified 17 months 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 (4)

comment:1 Changed 10 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 9 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 9 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

comment:4 Changed 17 months ago by migration script

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

Note: See TracTickets for help on using tickets.