Skip to content

Commit c327d19

Browse files
committed
kill xpra when jupyter-server-proxy exits
1 parent 05d9a03 commit c327d19

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

jupyter_xprahtml5/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ def _get_random_alphanumeric_string(length):
7979
'--html=on',
8080
'--bind-tcp=0.0.0.0:{port}',
8181
# '--socket-dir="' + socket_path + '/"', # fixme: socket_dir not recognized
82-
'--server-idle-timeout=86400', # stop server after 24h with no client connection
82+
# '--server-idle-timeout=86400', # stop server after 24h with no client connection
83+
# '--exit-with-client=yes', # stop Xpra when the browser disconnects
8384
'--start=xterm',
8485
# '--start-child=xterm', '--exit-with-children',
8586
# '--tcp-auth=file:filename=' + fpath_passwd,

jupyter_xprahtml5/share/launch_xpra.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# example
88
# module purge > /dev/null
99
# module use $OTHERSTAGES > /dev/null
10-
# module load Stages/Devel-2020 > /dev/null
10+
# module load Stages/2020 > /dev/null
1111
# module load GCCcore/.9.3.0 > /dev/null
1212
# module load xpra/4.0.4-Python-3.8.5 > /dev/null
1313

14-
exec xpra $@
14+
xpra $@

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
setup(
99
name="jupyter-xprahtml5-proxy",
1010
packages=find_packages(),
11-
version='0.2.0',
11+
version='0.2.1',
1212

1313
author_email="[email protected]",
1414
description="Xpra for JupyterLab",

0 commit comments

Comments
 (0)