diff options
author | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2021-07-01 16:15:07 +0200 |
---|---|---|
committer | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2021-07-01 16:16:40 +0200 |
commit | 7bd7f73994db1fa2169ff435a41f7fb4c2313058 (patch) | |
tree | 990c6481ea38fcbc515a0be4504e69ab65236bff | |
parent | 265c43b71fca70f0d476884771b148a308670b30 (diff) | |
download | RWA.Support.SessionService-7bd7f73994db1fa2169ff435a41f7fb4c2313058.tar.gz RWA.Support.SessionService-7bd7f73994db1fa2169ff435a41f7fb4c2313058.tar.bz2 RWA.Support.SessionService-7bd7f73994db1fa2169ff435a41f7fb4c2313058.zip |
Let x11vnc live until the session is *manually* stopped.
-rw-r--r-- | rwa/support/sessionservice/vnc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rwa/support/sessionservice/vnc.py b/rwa/support/sessionservice/vnc.py index f41efce..a608736 100644 --- a/rwa/support/sessionservice/vnc.py +++ b/rwa/support/sessionservice/vnc.py @@ -48,7 +48,7 @@ def run_vnc(pw_filename: str) -> Dict[str, Dict[str, int]]: port_vnc = port_for.select_random() # Start VNC process - p = subprocess.Popen(["x11vnc", "-rfbauth", pw_filename, "-rfbport", f"{port_vnc}"]) # noqa + p = subprocess.Popen(["x11vnc", "-forever", "-rfbauth", pw_filename, "-rfbport", f"{port_vnc}"]) # noqa # Start websockify p2 = subprocess.Popen(["websockify", str(port), f"127.0.0.1:{port_vnc}"]) # noqa |