Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The Application Mode of noVNC under Windows

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "the application of noVNC under Windows". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "the application of noVNC in Windows".

First, realize the function

Goal: remotely access the Windows desktop through a browser.

Principle: browsers do not support VNC, so you cannot connect to VNC directly, but you can use a proxy to establish a connection through WebSocket using noVNC, while VNC Server does not support WebSocket, so you need to open a Websockify proxy to convert between WebSocket and TCP Socket.

II. Preparatory work

1. Test environment: Windows 7

2. UltraVNC: http://www.uvnc.com/ (VNC Server in Windows environment and, of course, TightVNC,RealVNC, I also tried these two, it seems that I can't pass noVNC)

3. Node.js: https://nodejs.org/en/download/ (used to execute Websockify.js. There is also a Python version of Websockify, but it is not successful under Windows)

4. NoVNC: http://github.com/kanaka/noVNC/zipball/master

5. Wesockify: https://github.com/novnc/websockify/archive/master.zip

III. Specific operation

1. Install UltraVNC Server and start the service (set the password after installation)

2. Install Node.js

Select npm package manager during installation

Install ws, optimist modules (required to execute websockify.js files)

After installing ws and optimist, the node_modules directory will be generated under C:\ Users\ Administrator\

3. Extract the noVNC.zip to the node_modules directory, and then put it in the websockify-master.zi directory.

4. Execute websockify.js: forward the http of port 9000 to port 5900 (the default port of UltraVNC Server is 5900)

5. Enter http://192.168.1.163:9000/ (server-side IP:192.168.1.163) in the browser address bar

It's going to be like this.

At this point, just change the 102nd line of websockify.js to filename + ='/ vnc.html'

Repeat steps 4 and 5 and click Connect to enter the password set by UltraVNC.

Thank you for your reading, the above is the content of "the application of noVNC under Windows". After the study of this article, I believe you have a deeper understanding of the application of noVNC under Windows, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report