Giter VIP home page Giter VIP logo

chrome-novnc's Introduction

Chromium with NoVNC

Installation

  • Heroku

    Heroku

  • Manual

    docker run \
        --name chrome-novnc \
        -e PORT=8080 \
        -p 8080:8080 \
        -e VNC_PASS=CHANGE_IT \
        -d vital987/chrome-novnc:latest

Environment variables:

VARIABLE DESCRIPTION DEFAULT VALUE
VNC_PASS VNC Password CHANGE_IT
VNC_TITLE VNC Session Title Chromium
VNC_SHARED VNC Shared Mode false
VNC_RESOLUTION VNC Resolution 1280x720
PORT NoVNC HTTPS Port Heroku specific
APP_NAME Name of the app Heroku specific
NO_SLEEP Prevent app from sleeping Heroku specific

chrome-novnc's People

Contributors

hitsmaxft avatar vital987 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

chrome-novnc's Issues

Right-click Issue and noVNC Source Question

Hi, @vital987

First of all, I want to express my appreciation for this fantastic project. It's been really helpful for me.
And I tried to fork a version and move the login password.

I wanted to bring to your attention an issue I've been facing. When I right-click inside the noVNC interface, the browser's right-click menu appears and overlaps the menu from the Docker system running inside the noVNC window. This makes it difficult to interact with the Docker system's menu.
I was wondering if the noVNC component in this project is something you wrote yourself or if it's based on another project. If it's the latter, could you please let me know which project it is?

Setup Guide

Hello, I have set up the VNC_PASS environment variable, but I don't know where to enter the password after opening it. There is only one navigation bar on the interface, and it shows that the server is not connected, and there is nothing else.

Chinese characters on webpages are displaying as squares

It seems like after updating to the latest version, Chinese characters on webpages are displaying as squares. This issue wasn't present before version 0.12.0.

  • The environment variables I configured in Docker:
    PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    VNC_PASS xxxxxx
    VNC_TITLE VNC
    VNC_RESOLUTION 1920×1080
    VNC_SHARED 0
    DISPLAY :0
    NOVNC_PORT 9870
    PORT 9870
    LANG zh_CN.UTF-8
    LANGUAGE zh_CN.UTF-8
    LC_ALL C.UTF-8
    TZ Asia/Shanghai
    NO_SLEEP false

  • screenshot:

iShot_2024-05-14_18 30 41

Reverse Proxy via Nginx

Hey @vital987, sorry to trouble you again. When I'm trying to reverse proxy the current setup via Nginx, I'm getting an error with code 1006.

Can you help me figure out why this is happening and if possible help resolve this?

Here's the code I'm trying:

docker-compose:

version: '3.4'

services:
  chrome-novnc:
    container_name: chrome-novnc
    environment:
      - VNC_PASS=${VNC_PASS-CHANGE_IT}
      - VNC_TITLE=${VNC_TITLE-Chromium}
      - VNC_SHARED=${VNC_SHARED-false}
      - VNC_RESOLUTION=${VNC_RESOLUTION-1280x720}
      - PORT=8080
    image: vital987/chrome-novnc:latest
    ports:
      - "${HOST_PORT-8080}:8080/tcp"
    restart: always
  nginx:
    container_name: nginx
    image: nginx:mainline-alpine
    restart: always
    ports:
      - 1337:80
    volumes:
      - ./nginx:/etc/nginx/conf.d
    depends_on:
      - chrome-novnc

./nginx/nginx.conf:

upstream chrome-novnc {
	server chrome-novnc:8080;
}

server {
	listen 80;
    listen [::]:80;
    
    location / {
        proxy_pass http://chrome-novnc;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $host;
        proxy_redirect off;
    }
}

Then I'm going to http://localhost:1337/?password=CHANGE_IT

Thanks!

High cpu usage

Thank you for sharing this tool. Currently, during usage, I've noticed that the CPU utilization remains high upon startup and persists for a while. Is there any optimization method available to address this?

Unexpected Logs

The web interface works fine, but there are error logs always creating. Why’s that?

image

Typing Problem

Hi!
I am a people from Taiwan.
I know docker do not support chinese and I solve it by installing fonts
BUT
I cannot type Chinese, even I paste the characters
(Device on iPad)
Wish that you can solve it
It is a great project

Selenium Installation

Hey, I wanted to use selenium to control the chromium instance that is launched. However, I tried a variety of ways like changing the base image, but none let me install Selenium in the docker container.

Can you maybe guide me how can I implement a way to control the chromium instance using selenium with the current setup you have?

Many thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.