docker-headless-vnc-container icon indicating copy to clipboard operation
docker-headless-vnc-container copied to clipboard

try to build it with VNC_PASSWORDLESS=true as env in the dockerfile

Open DannyAtal opened this issue 1 year ago • 6 comments

Image Debian-xfce Tag latest Short overview try to build the image with that env, the Image won't start, I tried to build it from the official docker file and not just from the Image Detailed error description the container won't start Additional content

Please provide any (mandatory) additional data to reproduce the error (custom Dockerfiles etc.)

DannyAtal avatar Oct 22 '23 17:10 DannyAtal

any one?

DannyAtal avatar Oct 30 '23 22:10 DannyAtal

@sni maybe you can answer me?

DannyAtal avatar Nov 02 '23 19:11 DannyAtal

what's the actual question?

sni avatar Nov 02 '23 19:11 sni

When I added the env to the dockerfile and built it the container wont start and it fails.

בתאריך יום ה׳, 2 בנוב׳ 2023, 21:52, מאת Sven Nierlein ‏< @.***>:

what's the actual question?

— Reply to this email directly, view it on GitHub https://github.com/ConSol/docker-headless-vnc-container/issues/192#issuecomment-1791451292, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWZPRGURQIX5YXA4KY5TVADYCP2X7AVCNFSM6AAAAAA6LBOEW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJRGQ2TCMRZGI . You are receiving this because you authored the thread.Message ID: @.***>

DannyAtal avatar Nov 02 '23 20:11 DannyAtal

I am also left with a non-functioning container when the VNC_PASSWORDLESS environment variable is set. The container's log reports as up, but the noVNC port (6901) is unresponsive.

DaManDOH avatar Dec 05 '23 16:12 DaManDOH

@sni I have simillar behavior as @DaManDOH has.

For more context:

Dockerfile

FROM consol/debian-xfce-vnc
ENV REFRESHED_AT 2023-12-27
USER 0
COPY sf.deb /sf.deb
RUN apt update && apt install -y zenity libgconf-2-4 libgtk2.0-0 && dpkg -i /sf.deb
USER 1000

docker-compose.yaml

version: "3.6"
name: screaming-frog-client
services:
  host:
    build: .
    user: 1000:1000
    restart: always
    ports:
      - 5901:5901
      - 6901:6901
    volumes:
      - /some/path:/some/path
    environment:
      VNC_PASSWORDLESS: true
      VNC_RESOLUTION: 1920x1080

bushaev-denis avatar Dec 27 '23 08:12 bushaev-denis