无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 4129|回复: 21
打印 上一主题 下一主题

node.js 版的 vnc server

  [复制链接]
跳转到指定楼层
1#
发表于 2021-9-21 12:18:50 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
收集一下有关 vnc 远程桌面的软件,着重 js 版的。

jsnc - A JavaScript VNC (RFB) Server implementation
https://github.com/johannes/jsnc

上面这个很简单(代码很少),但也不成熟。

评分

参与人数 1无忧币 +5 收起 理由
zhczf + 5 很给力!

查看全部评分

22#
发表于 2024-9-4 18:03:48 | 只看该作者
先收藏,有空学习一下,感谢分享
回复

使用道具 举报

21#
 楼主| 发表于 2024-4-9 05:12:13 | 只看该作者
用 vnc 关键字还可以找到很多 vnc 相关项目:

https://npm.io/search/keyword:vnc


回复

使用道具 举报

20#
 楼主| 发表于 2024-4-9 04:47:18 | 只看该作者
今天居然找到了这个 SimpleVNC:


https://github.com/iSchluff/simplevnc

Node.js based VNC browser client (client+server) for embedding into your own applications.
回复

使用道具 举报

19#
发表于 2022-1-31 09:10:52 | 只看该作者
继续来支持楼主
回复

使用道具 举报

18#
发表于 2022-1-15 14:46:33 | 只看该作者
继续关注
回复

使用道具 举报

17#
发表于 2021-12-31 00:43:42 | 只看该作者
挺好的
回复

使用道具 举报

16#
发表于 2021-12-28 06:53:29 | 只看该作者
不成熟
回复

使用道具 举报

15#
发表于 2021-12-25 21:11:48 | 只看该作者
第一次看见js版的,连vnc都js实现了~多谢分享!
回复

使用道具 举报

14#
发表于 2021-12-24 19:41:50 | 只看该作者
js 版也不成熟
回复

使用道具 举报

13#
发表于 2021-12-22 18:54:49 | 只看该作者
少新帖,来看看
回复

使用道具 举报

12#
发表于 2021-11-26 23:02:15 | 只看该作者
RFB 协议规范了解一下。
回复

使用道具 举报

11#
发表于 2021-11-21 21:20:26 | 只看该作者
继续学习
回复

使用道具 举报

10#
发表于 2021-11-16 09:43:59 | 只看该作者
这个很简单
回复

使用道具 举报

9#
发表于 2021-11-10 10:07:46 | 只看该作者
也不成熟
回复

使用道具 举报

8#
 楼主| 发表于 2021-9-28 16:31:52 | 只看该作者
本帖最后由 不点 于 2021-9-29 08:13 编辑

找到了 RFB 协议规范的文档:

https://github.com/rfbproto/rfbproto

生成 html 和 pdf 文档很不容易,
运行 make 命令,出错很多,上网查找解决办法,安装了一大堆软件包才搞定。我把生成的 html 结果放在附件中,下载后就可以直接用了。pdf 格式的文件太大了,有283K,压缩以后,竟然也有 277K,压缩率不高,因此就不上传了。


rfbproto.html.gz

50.15 KB, 下载次数: 6, 下载积分: 无忧币 -2

RFB 协议规范(网页格式)

回复

使用道具 举报

7#
发表于 2021-9-22 21:48:19 | 只看该作者
感谢分享!!!
回复

使用道具 举报

6#
发表于 2021-9-22 12:45:03 | 只看该作者
虽然一直在用vnc远程,但真没关心过是否js版,不知novnc算不算
回复

使用道具 举报

5#
发表于 2021-9-21 14:36:30 | 只看该作者
多谢分享
回复

使用道具 举报

4#
 楼主| 发表于 2021-9-21 14:10:36 | 只看该作者
这个项目有服务器和客户端:

rfb wire protocol client and server
https://github.com/sidorares/node-rfb2
https://github.com/follower/node-rfb2

http://www.labradoc.com/i/follower/p/project-nodejs-vnc-server 有如下注记:         
Labradoc         if you logged in you'd be home by now.              
Project: Node.js VNC Server by follower

Forking https://github.com/sidorares/node-rfb2 to https://github.com/follower/node-rfb2.
Server specific code: https://github.com/follower/node-rfb2/blob/master/rfbserver.js

6 October 2014
  • Run the server code:
        node rfbserver.js
  • "In Node.js, you can use util.inspect(object)" to "pretty-print"/dump/view JS objects.
    e.g.       console.log('Server listening on port: ' + util.inspect(s));
  • Get the current listening port of the server object via server.address():
                var s = net.createServer(...)
                s.listen(...)
                ... s.address().port
        But note the warning:
                 Don't call server.address() until the 'listening' event has been emitted.
        So, you really need something like:
                s.listen(PORT, function () {
                           console.log('Server listening on port: ' + s.address().port);
                });
        (via)
  • Killing and restarting the server is annoying, enter nodemon which will "reload, automatically" (via).
    Install via:
        sudo npm install -g nodemon
    Then instead of running node you run nodemon a la:
        nodemon server.js

26 October 2014
23 February 2015
  • Learned today that the technique I used for my Arduino VNC server (and had intended to use here) is actually called "display list rendering". (via "Display list rendering")


          ©2011-2017 labradoc.com   



回复

使用道具 举报

3#
 楼主| 发表于 2021-9-21 13:12:14 | 只看该作者
这个也是 vnc 客户端,10 多年前的:

VNC/RFB client implemented in JavaScript
https://github.com/safl/jsVNC


回复

使用道具 举报

2#
 楼主| 发表于 2021-9-21 12:25:02 | 只看该作者
这个是 node.js 版的 vnc 客户端:

Pure nodejs RFC 6143 (RFB Protocol / VNC) client implementation, with no external dependencies.   

https://github.com/filipecbmoc/vnc-rfb-client




回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-12-11 02:51

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表