feat: refactor sgclaw around zeroclaw compat runtime
This commit is contained in:
11
third_party/zeroclaw/scripts/browser/stop-vnc.sh
vendored
Executable file
11
third_party/zeroclaw/scripts/browser/stop-vnc.sh
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
# Stop virtual display and VNC server
|
||||
# Usage: ./stop-vnc.sh [display_num]
|
||||
|
||||
DISPLAY_NUM=${1:-99}
|
||||
|
||||
pkill -f "Xvfb :$DISPLAY_NUM" 2>/dev/null || true
|
||||
pkill -f "x11vnc.*:$DISPLAY_NUM" 2>/dev/null || true
|
||||
pkill -f "websockify.*6080" 2>/dev/null || true
|
||||
|
||||
echo "VNC server stopped"
|
||||
Reference in New Issue
Block a user