Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1393221
  • 博文数量: 343
  • 博客积分: 13098
  • 博客等级: 上将
  • 技术积分: 2862
  • 用 户 组: 普通用户
  • 注册时间: 2005-07-06 00:35
文章存档

2012年(131)

2011年(31)

2010年(53)

2009年(23)

2008年(62)

2007年(2)

2006年(36)

2005年(5)

分类: 系统运维

2011-11-12 03:34:38

I. Guacamole

Guacamole是一个基于HTML5和JavaScript的VNC查看器,服务端基于Java的VNC-to-XML代理开发。要求浏览

器支持HTML5。官方说效果已经接近原生的VNC。需要支持html5 canvas标签才可以浏览。
Guacamole is an HTML5 + JavaScript (AJAX) viewer for VNC, which makes use of a server-side

VNC-to-XML proxy written in Java. The current version is almost as responsive as native VNC

and should work in any browser supporting the HTML5 canvas tag. 
----------------------------------------------------
Basic Installation (All Platforms)
1 Install Apache Tomcat and a VNC server. 
2 Download Guacamole 0.2.4, and extract the archive. 
3 Copy the guacamole-users.xml to your Tomcat's conf directory, and edit at least changing the

password. 
4 Copy the guacamole.war to a reasonable location (like /var/lib/guacamole, the default in the

provided guacamole.xml). 
5 Copy the guacamole.xml file to your Tomcat's conf/Catalina/HOSTNAME directory, editing to

specify your VNC server's hostname and port, as well as the location of your guacamole.war

file, if not the default. If your VNC server requires a password, uncomment and change the

password parameter line. 
6 Restart the server, and navigate to  to test the connection.

After entering your username and password, you should see your desktop. 
----------------------------------------------------

II. vnc-html5

VNC client using HTML5 (Web Sockets, Canvas) with encryption (wss://) support. 
另一款用html5实现的web VNC。
----------------------------------------------------
Usage
run a VNC server.

vncserver :1

run the python proxy:

./wsproxy.py [listen_port] [vnc_host] [vnc_port]

./wsproxy.py 8787 localhost 5901

run the mini python web server to serve the directory:

./web.py PORT

./web.py 8080

Point your web browser at  (or whatever port you used above to

run the web server).

Specify the host and port where the proxy is running and the password that the vnc server is

using (if any). Hit the Connect button and enjoy!
----------------------------------------------------

III. ViewNControl

ViewNControl connects to a VNC server and exports its screen in pure HTML and JavaScript. 
----------------------------------------------------

阅读(9497) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~