Skip to content

Commit

Permalink
Fail early on missing websockify executable
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Mar 30, 2024
1 parent 203e123 commit c12c16c
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 c12c16c

Please sign in to comment.