【8.11】开发工具安装 windows中安装noNVC

2022-08-17  本文已影响0人  王滕辉

上次在【1.16】服务器安装 Linux noVNC设置中已经尝试在linux中安装vnc 并用novnc链接web端

现在我们看看在windows中安装novnc ,
同理novnc也是在vnc上启动的服务,需要Websockify

准备安装

git 安装

参考 【8.3】开发工具安装 windows10中安装 GIT

python3 安装

参考 【8.7】开发工具安装 windows10中安装 Python

UltraVNC:[

http://www.uvnc.com/](http://www.uvnc.com/)(Windows环境下的VNC Server)

打开网站
进入下载页面

image.png

选择一个下载
我选者的第一个这里要求系统最低是win7


image.png

下载完成后直接安装

安装完后启动 这里注意修改下密码,默认的我也不知道


image.png

这市vnc 服务端已经启动了,可以用view端测试下连接

noVNC和Websockify

noVNC:https://github.com/novnc/noVNC

Websockify:https://github.com/novnc/websockify

打开 git brash

git  clone https://github.com/novnc/noVNC.git
cd noVNC

git clone https://github.com/novnc/websockify.git

cd utils
openssl req -new -x509 -days 365 -nodes -out self.pem -keyout self.pem
##最后启动
cd ..
./utils/novnc_proxy --vnc localhost:5900
#这时候可能会提示没有python3 这时因为在win系统中你装的python3 的执行文件名称是python 
#你只需要找到 utils\websockify\run 文件打开 修改里面的python3 〉python 就可以了,保存 重新执行下


最后注意下这些命令都需要在git bash 下执行,cmd窗口执行不了sh文件

image.png

访问 http://ip:6080/vnc.html

image.png
上一篇下一篇

猜你喜欢

热点阅读