remote-chrome
by @kelvinschen
Launch, stop, restart, or check the status of a remote Chrome browser service using Xvfb, x11vnc, and noVNC. Use this whenever the user wants to start a head...
clawhub install remote-chromeπ About This Skill
name: remote-chrome description: Launch, stop, restart, or check the status of a remote Chrome browser service using Xvfb, x11vnc, and noVNC. Use this whenever the user wants to start a headless Chrome browser accessible via web browser or VNC client, needs to stop the remote browser service, wants to restart the service, or asks for the current status/access URL of the remote browser. This is for running a full Chrome browser remotely with GUI access through a web interface.
Open Remote Chrome Browser Management
Launch and manage a remote Chrome browser with web-based VNC access
Quick Start
# Start service (auto-checks dependencies)
./start-remote-chrome.shCheck status and get access info
./status-remote-chrome.shStop service
./stop-remote-chrome.sh
That's it! The start script automatically checks dependencies and provides clear installation instructions if anything is missing.
What You Get
http://:6080 :5900 http://:9222 Scripts
| Script | Purpose |
|--------|---------|
| start-remote-chrome.sh | Start the service (with auto dependency check) |
| stop-remote-chrome.sh | Stop the service |
| status-remote-chrome.sh | Monitor status, memory, tabs, and get access info |
Options
# Verbose mode (see Chrome output and process details)
./start-remote-chrome.sh -vForeground mode (keep script running, Ctrl+C to stop)
./start-remote-chrome.sh -fCustom ports
./start-remote-chrome.sh --vnc-port 5901 --novnc-port 6081 --chrome-debug-port 9223Custom screen resolution
./start-remote-chrome.sh --screen-size 1920x1080x24With proxy and bypass list
./start-remote-chrome.sh --proxy http://proxy.example.com:8080 --proxy-bypass "localhost,127.0.0.1,*.example.com"Combined options
./start-remote-chrome.sh --screen-size 1920x1080x24 --vnc-port 5901 --novnc-port 6081 -vGet help
./start-remote-chrome.sh -h
Configuration Parameters
The start script supports the following configurable parameters:
Port Configuration
--vnc-port : VNC server port (default: 5900)--novnc-port : noVNC web access port (default: 6080)--chrome-debug-port : Chrome remote debugging port (default: 9222)Example:
# Use different ports to avoid conflicts
./start-remote-chrome.sh --vnc-port 5901 --novnc-port 6081
Screen Resolution
--screen-size : Screen resolution in format WidthxHeightxColorDepth (default: 1600x1200x24)Examples:
# Full HD resolution with 24 color depth
./start-remote-chrome.sh --screen-size 1920x1080x24
Examples
# Use corporate proxy
./start-remote-chrome.sh --proxy http://proxy.company.com:3128Use proxy with bypass list for internal sites
./start-remote-chrome.sh --proxy http://proxy.company.com:3128 --proxy-bypass "*.internal.com,localhost,10.*"No proxy (direct connection - default behavior)
./start-remote-chrome.sh
Proxy Environment Variables
The script also respects standard proxy environment variables if set:
HTTP_PROXY / http_proxyHTTPS_PROXY / https_proxyNO_PROXY / no_proxyPriority: Command-line parameters > Environment variables > No proxy
Common Tasks
Start Service
./start-remote-chrome.sh
Output includes access URLs and VNC password.Check Status
./status-remote-chrome.sh
Shows: process status, memory usage, open Chrome tabs, VNC password, access URLs.Restart Service
./stop-remote-chrome.sh && ./start-remote-chrome.sh
Integration with agent-browser
Control Chrome programmatically via the agent-browser skill:
# 1. Start remote Chrome (with debugging port enabled)
./start-remote-chrome.sh2. Connect agent-browser to Chrome
agent-browser connect --url http://localhost:92223. Navigate and interact
agent-browser open https://example.com
agent-browser click "#button-id"
agent-browser type "#input-field" "text content"4. Check open tabs
./status-remote-chrome.sh # Shows all tabs opened by agent-browser
Benefits:
References
For detailed information, see:
Need Help?
./stop-remote-chrome.sh first.references/ folder for comprehensive documentation.π‘ Examples
# Use corporate proxy
./start-remote-chrome.sh --proxy http://proxy.company.com:3128Use proxy with bypass list for internal sites
./start-remote-chrome.sh --proxy http://proxy.company.com:3128 --proxy-bypass "*.internal.com,localhost,10.*"No proxy (direct connection - default behavior)
./start-remote-chrome.sh
Proxy Environment Variables
The script also respects standard proxy environment variables if set:
HTTP_PROXY / http_proxyHTTPS_PROXY / https_proxyNO_PROXY / no_proxyPriority: Command-line parameters > Environment variables > No proxy
βοΈ Configuration
# Verbose mode (see Chrome output and process details)
./start-remote-chrome.sh -vForeground mode (keep script running, Ctrl+C to stop)
./start-remote-chrome.sh -fCustom ports
./start-remote-chrome.sh --vnc-port 5901 --novnc-port 6081 --chrome-debug-port 9223Custom screen resolution
./start-remote-chrome.sh --screen-size 1920x1080x24With proxy and bypass list
./start-remote-chrome.sh --proxy http://proxy.example.com:8080 --proxy-bypass "localhost,127.0.0.1,*.example.com"Combined options
./start-remote-chrome.sh --screen-size 1920x1080x24 --vnc-port 5901 --novnc-port 6081 -vGet help
./start-remote-chrome.sh -h