accetto / debian-vnc-xfce-g3

Headless Debian/Xfce containers with VNC/noVNC (G3v6).
MIT License
14 stars 5 forks source link

noVNC encountered an error: Uncaught TypeError: crypto.randomUUID is not a function chrome-extension://dmkamcknogkgcdfhhbddcghachkejeap/injectedScript.bundle.js:2:90761 #1

Closed skirsch closed 1 month ago

skirsch commented 2 months ago

doing reload when connected to full VNC generates this error message. Oddly, if I connect to the root of noVNC, I can select the Full version just fine. Just happens on reload (I'm using Chrome browser on windows).

This may not be your bug or something you can fix, but I've never seen this before.

noVNC encountered an error:

Uncaught TypeError: crypto.randomUUID is not a function
chrome-extension://dmkamcknogkgcdfhhbddcghachkejeap/injectedScript.bundle.js:2:90761

image

GREAT work.

Have you thought of including a docker compose.yaml file for sample usage in the readme?

version: "3.8"
### listens on 5901 for VNC connections and 
### 6901 for NoVNC web connection
### so point the web browser to 8084 and enter 
### the password: x
### when you get in, the sudo password is headless
services:
  debian:
    image: accetto/debian-vnc-xfce-chromium-g3
    hostname: debian
    restart: unless-stopped
    ports:
      - 8084:6901
    shm_size: 512m ## container run time
    environment:
      VNC_PW: x
      VNC_RESOLUTION: 1920x1080
    volumes:
      - /mnt/main/appdata/Debian-Bullseye:/mnt/debian
networks: {}
accetto commented 1 month ago

Hello @skirsch,

thank you for your feedback. I also never got the error you've described. First I'll try to reproduce it and then we'll see, what we can do about it. There is also a newer noVNC version released, which I plan to include.

Some time ago I've moved all README examples to the User Guide, to simplify the maintenance of all the projects. So I need to think about your proposal a little bit, if I could manage.

Regards, accetto

skirsch commented 1 month ago

it is a pretty odd bug for sure. it is 100% repeatable with that docker container setup. got to the home page, pick full vnc fviewer. works fine. Hit refresh: you get that error message 100% of the time.

accetto commented 1 month ago

Having a second look at the issue title Uncaught TypeError: crypto.randomUUID is not a function chrome-extension://dmkamcknogkgcdfhhbddcghachkejeap/injectedScript.bundle.js, I'm afraid, that you've got a cryptomining malware extension in your web browser. The extension name itself looks pretty ridiculous. What do you think?

I would recommend to uninstall the extension, to reboot and to try it without it.

skirsch commented 1 month ago

Good catch. Turning on developer mode in Chrome lets you see the codes.

image

Keplr is SUPPOSED to be legit!!!

I will remove it and try again. And low and behold, you win the prize!!! No more error!

skirsch commented 1 month ago

thank you for investigating!

accetto commented 1 month ago

I'm glad you've solved it. :)