Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VNC_PASSWORDLESS only works for Rocky base images #205

Open
groenator opened this issue Jul 27, 2024 · 3 comments
Open

VNC_PASSWORDLESS only works for Rocky base images #205

groenator opened this issue Jul 27, 2024 · 3 comments

Comments

@groenator
Copy link

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=...
@klaegera
Copy link

It seems this was fixed in the most recent commit 94657f6.
The corresponding image is available on Docker Hub using the nightly tag.

@groenator
Copy link
Author

any idea when its going to reach the stable channel?

@sni
Copy link
Member

sni commented Sep 10, 2024

It should be in the stable v2.0.4 already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants