Skip to content

Commit

Permalink
Merge pull request jupyterhub#107 from consideRatio/pr/check-for-exec…
Browse files Browse the repository at this point in the history
…utable

Fail early on missing websockify executable
  • Loading branch information
consideRatio authored Mar 30, 2024
2 parents 203e123 + c12c16c commit 3560f09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jupyter_remote_desktop_proxy/setup_websockify.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ def setup_websockify():
raise RuntimeError(
"vncserver executable not found, please install a VNC server"
)
if not which('websockify'):
raise RuntimeError("websockify executable not found, please install websockify")

# TurboVNC and TigerVNC share the same origin and both use a Perl script
# as the executable vncserver. We can determine if vncserver is TigerVNC
Expand Down

0 comments on commit 3560f09

Please sign in to comment.