First in terminal you need to set XDG_RUNTIME_DIR
environment to TMPDIR
: export XDG_RUNTIME_DIR=$TMPDIR
.
Next load required python module, ie. plgrid/tools/python/3.6.0
and browser, ie. firefox: plgrid/apps/firefox
and run jupyter: jupyter notebook