User Tools

Site Tools


Sidebar

novnc

This is an old revision of the document!


Table of Contents

Install

yay -S x11vnc
git clone https://github.com/novnc/noVNC

Setup

x11vnc
./utils/novnc_proxy --vnc localhost:5900 --listen 9900
http://1.2.3.4/novnc/vnc.html

nginx

#user http; worker_processes 1;

events {

  worker_connections  1024;

}

http {

  include       mime.types;
  default_type  application/octet-stream;                                                                                                                                            
  sendfile        on;
  #tcp_nopush     on;
  #keepalive_timeout  0;
  keepalive_timeout  65;
  server {
  listen 80 default_server;
  location / {
    root /www/data;
    try_files $uri $uri/ /index.html;
  }
  location /novnc/ {
    proxy_pass http://127.0.0.1:9900/;
  }
novnc.1666784700.txt.gz · Last modified: 2022/10/26 04:45 by vissie