Skip to content

VNC_PASSWORDLESS only works for Rocky base images #205

Description

@groenator

Image
consol/debian-xfce-vnc
Tag
latest
Short overview
I am using the debian version of xfce-vnc and when I set the VNC_PASSWORDLESS variable to true the container doesn't start. If I use the rocky base image, it works fine.

Detailed error description
Unable to start the container when I set the VNC_PASSWORDLESS=true in debian.

Additional content

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

Starting docker logs:

docker run -it -p 5901:5901 -p 6901:6901 -e VNC_PASSWORDLESS=true consol/debian-xfce-vnc:latest
Unable to find image 'consol/debian-xfce-vnc:latest' locally
latest: Pulling from consol/debian-xfce-vnc
Digest: sha256:9d7f63293036e7f798ae2f8e48ebbd9ad3a00bf05bd6202807a442ed2dce2ba0
Status: Downloaded newer image for consol/debian-xfce-vnc:latest
USER_ID: 1000, GROUP_ID: 0
nss_wrapper location: /usr/lib/x86_64-linux-gnu/libnss_wrapper.so

------------------ update chromium-browser.init ------------------

... set window size 1280 x 1024 as chrome window size!


------------------ change VNC password  ------------------

------------------ start noVNC  ----------------------------
start vncserver with param: VNC_COL_DEPTH=24, VNC_RESOLUTION=1280x1024
...

Using the rocky base_image:

docker run -it -p 5901:5901 -p 6901:6901 -e VNC_PASSWORDLESS=true consol/rocky-xfce-vnc                       
Unable to find image 'consol/rocky-xfce-vnc:latest' locally
latest: Pulling from consol/rocky-xfce-vnc
Digest: sha256:f69f5caa1c9d3777704cc18c319fac257f6ae34a22bee802f9f433636d5b932c
Status: Downloaded newer image for consol/rocky-xfce-vnc:latest
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
USER_ID: 1000, GROUP_ID: 0
nss_wrapper location: /usr/lib64/libnss_wrapper.so
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

------------------ update chromium-browser.init ------------------

... set window size 1280 x 1024 as chrome window size!


------------------ change VNC password  ------------------

------------------ start noVNC  ----------------------------
start vncserver with param: VNC_COL_DEPTH=24, VNC_RESOLUTION=1280x1024
...
start window manager
...


------------------ VNC environment started ------------------

VNCSERVER started on DISPLAY= :1 
        => connect via VNC viewer with 172.17.0.2:5901

noVNC HTML client started:
        => connect via http://172.17.0.2:6901/?password=...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions