## noVNC: HTML VNC Client Library and Application
[![Test Status](https://github.com/novnc/noVNC/workflows/Test/badge.svg)](https://github.com/novnc/noVNC/actions?query=workflow%3ATest)
[![Lint Status](https://github.com/novnc/noVNC/workflows/Lint/badge.svg)](https://github.com/novnc/noVNC/actions?query=workflow%3ALint)
### Description
noVNC is both a HTML VNC client JavaScript library and an application built on
top of that library. noVNC runs well in any modern browser including mobile
browsers (iOS and Android).
Many companies, projects and products have integrated noVNC including
[OpenStack](http://www.openstack.org),
[OpenNebula](http://opennebula.org/),
[LibVNCServer](http://libvncserver.sourceforge.net), and
[ThinLinc](https://cendio.com/thinlinc). See
[the Projects and Companies wiki page](https://github.com/novnc/noVNC/wiki/Projects-and-companies-using-noVNC)
for a more complete list with additional info and links.
### Table of Contents
- [News/help/contact](#newshelpcontact)
- [Features](#features)
- [Screenshots](#screenshots)
- [Browser Requirements](#browser-requirements)
- [Server Requirements](#server-requirements)
- [Quick Start](#quick-start)
- [Installation from Snap Package](#installation-from-snap-package)
- [Integration and Deployment](#integration-and-deployment)
- [Authors/Contributors](#authorscontributors)
### News/help/contact
The project website is found at [novnc.com](http://novnc.com).
Notable commits, announcements and news are posted to
[@noVNC](http://www.twitter.com/noVNC).
If you are a noVNC developer/integrator/user (or want to be) please join the
[noVNC discussion group](https://groups.google.com/forum/?fromgroups#!forum/novnc).
Bugs and feature requests can be submitted via
[github issues](https://github.com/novnc/noVNC/issues). If you have questions
about using noVNC then please first use the
[discussion group](https://groups.google.com/forum/?fromgroups#!forum/novnc).
We also have a [wiki](https://github.com/novnc/noVNC/wiki/) with lots of
helpful information.
If you are looking for a place to start contributing to noVNC, a good place to
start would be the issues that are marked as
["patchwelcome"](https://github.com/novnc/noVNC/issues?labels=patchwelcome).
Please check our
[contribution guide](https://github.com/novnc/noVNC/wiki/Contributing) though.
If you want to show appreciation for noVNC you could donate to a great non-
profits such as:
[Compassion International](http://www.compassion.com/),
[SIL](http://www.sil.org),
[Habitat for Humanity](http://www.habitat.org),
[Electronic Frontier Foundation](https://www.eff.org/),
[Against Malaria Foundation](http://www.againstmalaria.com/),
[Nothing But Nets](http://www.nothingbutnets.net/), etc.
Please tweet [@noVNC](http://www.twitter.com/noVNC) if you do.
### Features
* Supports all modern browsers including mobile (iOS, Android)
* Supported VNC encodings: raw, copyrect, rre, hextile, tight, tightPNG
* Supports scaling, clipping and resizing the desktop
* Local cursor rendering
* Clipboard copy/paste
* Translations
* Touch gestures for emulating common mouse actions
* Licensed mainly under the [MPL 2.0](http://www.mozilla.org/MPL/2.0/), see
[the license document](LICENSE.txt) for details
### Screenshots
Running in Firefox before and after connecting:
<img src="http://novnc.com/img/noVNC-1-login.png" width=400>
<img src="http://novnc.com/img/noVNC-3-connected.png" width=400>
See more screenshots
[here](http://novnc.com/screenshots.html).
### Browser Requirements
noVNC uses many modern web technologies so a formal requirement list is
not available. However these are the minimum versions we are currently
aware of:
* Chrome 64, Firefox 79, Safari 13.4, Opera 51, Edge 79
### Server Requirements
noVNC follows the standard VNC protocol, but unlike other VNC clients it does
require WebSockets support. Many servers include support (e.g.
[x11vnc/libvncserver](http://libvncserver.sourceforge.net/),
[QEMU](http://www.qemu.org/), and
[MobileVNC](http://www.smartlab.at/mobilevnc/)), but for the others you need to
use a WebSockets to TCP socket proxy. noVNC has a sister project
[websockify](https://github.com/novnc/websockify) that provides a simple such
proxy.
### Quick Start
* Use the `novnc_proxy` script to automatically download and start websockify, which
includes a mini-webserver and the WebSockets proxy. The `--vnc` option is
used to specify the location of a running VNC server:
`./utils/novnc_proxy --vnc localhost:5901`
* If you don't need to expose the web server to public internet, you can
bind to localhost:
`./utils/novnc_proxy --vnc localhost:5901 --listen localhost:6081`
* Point your browser to the cut-and-paste URL that is output by the `novnc_proxy`
script. Hit the Connect button, enter a password if the VNC server has one
configured, and enjoy!
### Installation from Snap Package
Running the command below will install the latest release of noVNC from Snap:
`sudo snap install novnc`
#### Running noVNC from Snap Directly
You can run the Snap-package installed novnc directly with, for example:
`novnc --listen 6081 --vnc localhost:5901 # /snap/bin/novnc if /snap/bin is not in your PATH`
If you want to use certificate files, due to standard Snap confinement restrictions you need to have them in the /home/\<user\>/snap/novnc/current/ directory. If your username is jsmith an example command would be:
`novnc --listen 8443 --cert ~jsmith/snap/novnc/current/self.crt --key ~jsmith/snap/novnc/current/self.key --vnc ubuntu.example.com:5901`
#### Running noVNC from Snap as a Service (Daemon)
The Snap package also has the capability to run a 'novnc' service which can be
configured to listen on multiple ports connecting to multiple VNC servers
(effectively a service runing multiple instances of novnc).
Instructions (with example values):
List current services (out-of-box this will be blank):
```
sudo snap get novnc services
Key Value
services.n6080 {...}
services.n6081 {...}
```
Create a new service that listens on port 6082 and connects to the VNC server
running on port 5902 on localhost:
`sudo snap set novnc services.n6082.listen=6082 services.n6082.vnc=localhost:5902`
(Any services you define with 'snap set' will be automatically started)
Note that the name of the service, 'n6082' in this example, can be anything
as long as it doesn't start with a number or contain spaces/special characters.
View the configuration of the service just created:
```
sudo snap get novnc services.n6082
Key Value
services.n6082.listen 6082
services.n6082.vnc localhost:5902
```
Disable a service (note that because of a limitation in Snap it's currently not
possible to unset config variables, setting them to blank values is the way
to disable a service):
`sudo snap set novnc services.n6082.listen='' services.n6082.vnc=''`
(Any services you set to blank with 'snap set' like this will be automatically stopped)
Verify that the service is disabled (blank values):
```
sudo snap get novnc services.n6082
Key Value
services.n6082.listen
services.n6082.vnc
```
### Integration and Deployment
Please see our other documents for how to integrate noVNC in your own software,
or deploying the noVNC application in production environments:
* [Embedding](docs/EMBEDDING.md) - For the noVNC application
* [Library](docs/LIBRARY.md) - For the noVNC JavaScript library
### Authors/Contributors
See [AUTHORS](AUTHORS) for a (full-ish) list of authors. If you're not on
that list and you think you should be, feel free to send a PR to fix that.
* Core team:
* [Joel Martin](https://github.com/kanaka)
* [Samuel Mannehed](https://github.com/samhed) (Cendio)
* [Solly Ross](https://github.com/DirectXMan12) (Red Hat / OpenStack)
* [Pierre Ossman](https://github.com/CendioOssman) (Cendio)
* Notable contributions:
* UI and Icons : Pierre Ossman, Chris Gord
没有合适的资源?快使用搜索试试~ 我知道了~
一款产品实现的VNC client的web化,并且免费开源-它就是 noVNC
共204个文件
js:80个
svg:23个
json:16个
需积分: 5 3 下载量 164 浏览量
2022-08-08
16:52:22
上传
评论
收藏 753KB ZIP 举报
温馨提示
在日常工作中,对于需要远程连接到主机的需求,无论是Windows ,Mac,Linux平台,还是移动端等平台,都有相应的整套解决方案,其中基于标准的协议实现的,有大名鼎鼎的VNC,使用的RFB协议,和Windows远程服务客户端(mstsc),使用的RDP协议 。但是作为使用者来访问时,都需要安装对应的client,在跨平台使用上会有些许的不便,甚至一些小众的平台无法使用。在如今web大行其道背景下,就有一款产品实现的VNC client的web化,并且免费开源-它就是 noVNC 安装方法-英文:https://github.com/novnc/noVNC 安装方法-中文:https://cloud.tencent.com/developer/article/1907391
资源详情
资源评论
资源推荐
收起资源包目录
一款产品实现的VNC client的web化,并且免费开源-它就是 noVNC (204个子文件)
LICENSE.MPL-2.0 16KB
LICENSE.OFL-1.1 4KB
novnc_proxy.1 1KB
AUTHORS 358B
LICENSE.BSD-2-Clause 1KB
LICENSE.BSD-3-Clause 1KB
configure 45B
CREDITS 157B
base.css 20KB
.eslintignore 18B
.eslintrc 2KB
.eslintrc 264B
.eslintrc 72B
.eslintrc 46B
.gitignore 117B
.gitmodules 0B
vnc.html 16KB
vnc_lite.html 6KB
vnc_playback.html 673B
test.rfb.js 190KB
rfb.js 112KB
deflate.js 59KB
ui.js 59KB
inflate.js 46KB
trees.js 38KB
test.gesturehandler.js 35KB
keysym.js 34KB
keysymdef.js 25KB
test.keyboard.js 23KB
test.websock.js 21KB
ra2.js 20KB
test.tight.js 18KB
gesturehandler.js 18KB
test.ra2.js 17KB
test.display.js 16KB
display.js 15KB
xtscancodes.js 14KB
test.jpeg.js 14KB
test.helper.js 12KB
inffast.js 11KB
inftrees.js 11KB
domkeytable.js 11KB
des.js 11KB
websock.js 10KB
tight.js 10KB
test.webutil.js 10KB
keyboard.js 10KB
test.hextile.js 9KB
cursor.js 8KB
zrle.js 6KB
test.tightpng.js 6KB
playback-ui.js 6KB
hextile.js 6KB
util.js 6KB
localization.js 6KB
test.zrle.js 5KB
test.raw.js 5KB
webutil.js 5KB
convert.js 5KB
jpeg.js 5KB
playback.js 5KB
md5.js 4KB
events.js 4KB
base64.js 4KB
assertions.js 4KB
fixedkeys.js 4KB
browser.js 4KB
test.rre.js 4KB
test.util.js 3KB
test.inflator.js 3KB
genkeysymdef.js 3KB
test.copyrect.js 3KB
test.localization.js 3KB
deflator.js 3KB
vkeys.js 2KB
test.deflator.js 2KB
karma.conf.js 2KB
fake.websocket.js 2KB
error-handler.js 2KB
inflator.js 2KB
raw.js 2KB
encodings.js 2KB
logging.js 1KB
constants.js 1KB
test.base64.js 1KB
gzheader.js 1KB
rre.js 1KB
common.js 1KB
eventtarget.js 896B
zstream.js 823B
crc32.js 764B
strings.js 745B
element.js 729B
tightpng.js 687B
adler32.js 666B
copyrect.js 616B
messages.js 560B
test.int.js 487B
int.js 326B
el.json 4KB
共 204 条
- 1
- 2
- 3
zengxlf
- 粉丝: 5
- 资源: 29
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0