Changes between Version 39 and Version 40 of vnc3d/xpra


Ignore:
Timestamp:
09/11/18 10:42:42 (6 years ago)
Author:
Jens Henrik Goebbert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • vnc3d/xpra

    v39 v40  
    143143}}}
    144144
     145**Atom**\\
     146If you want to avoid to manually switch to another stage or load extra modules, you can follow this example.\\
     147Thanks goes to Johannes Hörmann.
     148
     149A suitable xpra wrapper script can do the extra work before you program starts:
     150{{{ #!sh
     151#!/bin/bash -x
     152
     153module --force purge
     154module load Stages/2018a GCCcore/.5.5.0 Xpra/1.0.11-Python-2.7.14
     155module load Atom/1.25.0
     156
     157exec $@
     158}}}
     159
     160* Add the executable bit (chmod +x xpra_wrapper)
     161* Add the line {{{exec-wrapper = /absolute/path/to/xpra_wrapper}}} to ~/.xpra/xpra.conf
     162  * if you have used xpra before, this file should already exist
     163
     164Now you can bring up a remote Atom with this single command
     165{{{ #!sh
     166client> xpra start ssh:<USERID>@jurecavis01.fz-juelich.de --start-child="atom -w" --min-quality=90 --dpi=96
     167}}}
     168In order not to detach Atom from the calling process it needs to be started with {{{-w}}} option -- otherwise the xpra_wrapper would return immediately after initiating Atom and the xpra server shuts down.
     169
    145170=== More on Xpra
    146171