[winswitch] Xpra "run command" from command line

Antoine Martin antoine at nagafix.co.uk
Thu Mar 16 09:50:21 GMT 2017

On 16/03/17 16:10, Martin Insulander via shifter-users wrote:
> Hi,
> I have a question about Xpra.
> What is the best way to launch applications in a running xpra session from
> command line?
> It would be great to be able to call the xpra run command (something like
>>> xpra control --start=xterm).
You were close. Try this instead:
xpra control :DISPLAY start "THECOMMAND"

For more general information about control subcommands, try:
xpra control :DISPLAY help
Then there is also (limited) information about each subcommand:
xpra control :DISPLAY help start

When already connected with the client, you can also start new commands
directly from the client's system tray if the server has enabled the
"start-new-commands" option. (which is disabled by default)


> Currently I run ssh into the server, find out current xpra session display
> number and launch the program. Cumbersome and error prone.
> thanks for xpra and answers from Martin Insulander
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users

More information about the shifter-users mailing list