返回顶部
r

remote-chrome远程Chrome管理

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.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
212
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

remote-chrome

打开远程Chrome浏览器管理

启动并管理一个远程Chrome浏览器,支持基于网页的VNC访问

快速开始

bash

启动服务(自动检查依赖)


./start-remote-chrome.sh

检查状态并获取访问信息

./status-remote-chrome.sh

停止服务

./stop-remote-chrome.sh

就是这样!启动脚本会自动检查依赖项,并在缺少任何内容时提供清晰的安装说明。

你能获得什么

  • - 网页访问:基于浏览器的VNC客户端,地址为 http://:6080
  • VNC访问:直接VNC连接,地址为 :5900
  • 远程调试:Chrome DevTools,地址为 http://:9222
  • 状态监控:进程信息、内存使用、打开的标签页、VNC密码

脚本

脚本用途
start-remote-chrome.sh启动服务(带自动依赖检查)
stop-remote-chrome.sh
停止服务 | | status-remote-chrome.sh | 监控状态、内存、标签页,并获取访问信息 |

选项

bash

详细模式(查看Chrome输出和进程详情)


./start-remote-chrome.sh -v

前台模式(保持脚本运行,按Ctrl+C停止)

./start-remote-chrome.sh -f

自定义端口

./start-remote-chrome.sh --vnc-port 5901 --novnc-port 6081 --chrome-debug-port 9223

自定义屏幕分辨率

./start-remote-chrome.sh --screen-size 1920x1080x24

带代理和绕过列表

./start-remote-chrome.sh --proxy http://proxy.example.com:8080 --proxy-bypass localhost,127.0.0.1,*.example.com

组合选项

./start-remote-chrome.sh --screen-size 1920x1080x24 --vnc-port 5901 --novnc-port 6081 -v

获取帮助

./start-remote-chrome.sh -h

配置参数

启动脚本支持以下可配置参数:

端口配置

  • - --vnc-port :VNC服务器端口(默认:5900)
  • --novnc-port :noVNC网页访问端口(默认:6080)
  • --chrome-debug-port :Chrome远程调试端口(默认:9222)

示例:
bash

使用不同端口以避免冲突


./start-remote-chrome.sh --vnc-port 5901 --novnc-port 6081

屏幕分辨率

  • - --screen-size :屏幕分辨率,格式为 宽度x高度x颜色深度(默认:1600x1200x24)

示例:
bash

全高清分辨率,24位颜色深度


./start-remote-chrome.sh --screen-size 1920x1080x24

示例

bash

使用公司代理


./start-remote-chrome.sh --proxy http://proxy.company.com:3128

使用带内部站点绕过列表的代理

./start-remote-chrome.sh --proxy http://proxy.company.com:3128 --proxy-bypass .internal.com,localhost,10.

无代理(直接连接 - 默认行为)

./start-remote-chrome.sh

代理环境变量

如果设置了以下标准代理环境变量,脚本也会识别:

  • - HTTPPROXY / httpproxy
  • HTTPSPROXY / httpsproxy
  • NOPROXY / noproxy

优先级:命令行参数 > 环境变量 > 无代理

常见任务

启动服务

bash ./start-remote-chrome.sh

输出包括访问URL和VNC密码。

检查状态

bash ./status-remote-chrome.sh

显示:进程状态、内存使用、打开的Chrome标签页、VNC密码、访问URL。

重启服务

bash ./stop-remote-chrome.sh && ./start-remote-chrome.sh

与agent-browser集成

通过agent-browser技能以编程方式控制Chrome:

bash

1. 启动远程Chrome(启用调试端口)


./start-remote-chrome.sh

2. 将agent-browser连接到Chrome

agent-browser connect --url http://localhost:9222

3. 导航和交互

agent-browser open https://example.com agent-browser click #button-id agent-browser type #input-field text content

4. 检查打开的标签页

./status-remote-chrome.sh # 显示agent-browser打开的所有标签页

优势

  • - 通过VNC进行可视化监控 + 通过agent-browser进行编程控制
  • 使用agent-browser进行自动化,使用VNC进行可视化验证
  • 通过网页界面实时调试自动化脚本

参考资料

详细信息请参阅:

需要帮助?

  • - 缺少依赖项?启动脚本会准确告诉你需要安装什么。
  • 端口冲突?先运行 ./stop-remote-chrome.sh。
  • 想要更多细节?查看 references/ 文件夹获取全面的文档。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 remote-chrome-1776097512 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 remote-chrome-1776097512 技能

通过命令行安装

skillhub install remote-chrome-1776097512

下载

⬇ 下载 remote-chrome v1.0.0(免费)

文件大小: 16.97 KB | 发布时间: 2026-4-15 14:09

v1.0.0 最新 2026-4-15 14:09
- Initial release of remote-chrome skill.
- Launch, stop, restart, and check status of a remote Chrome browser service with Xvfb, x11vnc, and noVNC.
- Provides web-based (noVNC) and direct VNC access to a full Chrome GUI remotely.
- Start script auto-checks dependencies and provides install guidance.
- Includes flexible options: custom ports, screen resolution, proxy support, and verbose mode.
- Integration instructions provided for use with agent-browser skill.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部