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 image local build error #36

Open
bpinaya opened this issue Jun 10, 2017 · 3 comments
Open

VNC image local build error #36

bpinaya opened this issue Jun 10, 2017 · 3 comments

Comments

@bpinaya
Copy link

bpinaya commented Jun 10, 2017

Hey there, great images. I am having some issues building it locally.

Step 4/10 : ENV USER root
 ---> Running in 6b2c881d3107
 ---> 9c91f0c8818e
Removing intermediate container 6b2c881d3107
Step 5/10 : COPY password.txt .
 ---> 71f859bc9d2d
Removing intermediate container 7a7772cc3d2a
Step 6/10 : RUN cat password.txt password.txt | vncpasswd &&   rm password.txt
 ---> Running in 10ebdba5fef9
Using password file /root/.vnc/passwd
VNC directory /root/.vnc does not exist, creating.
Password: Warning: password truncated to the length of 8.
Verify:   Passwords do not match. Please try again.

Password: Password too short
The command '/bin/sh -c cat password.txt password.txt | vncpasswd && rm password.txt' returned a non-zero code: 1`
Tried setting up a longer password but didn't work.

@Kaixhin
Copy link
Owner

Kaixhin commented Jun 10, 2017

I just ran this and it worked fine. If you've been adjusting the password, can you please try again with the original password.txt (to make sure there are no extra invisible characters in the password)? If this does work then there must be an issue with the password that you have chosen - try a 8-character alphanumeric password to be safe.

@ghost
Copy link

ghost commented Mar 19, 2018

adding a newline after the password fixed the issue for me

@Kaixhin
Copy link
Owner

Kaixhin commented Mar 19, 2018

@sgshawnblanchard Would you mind sending in a PR with the fix please (or just letting me know what the exact changes are)?

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

2 participants