ConSol / docker-headless-vnc-container

Collection of Docker images with headless VNC environments
Apache License 2.0
1.73k stars 737 forks source link

Change home folder #130

Closed matdrapeau closed 2 years ago

matdrapeau commented 5 years ago

Currently the $HOME location is /headless. How could we easily change it to something else? Would it be possible to paramatrize it when running the container ie: -e HOME=/home/my_user?

srghma commented 4 years ago

have the same problem - it exits with error code 1 if the HOME directory is changed

Attaching to my
my |
my | ------------------ update chromium-browser.init ------------------
my |
my | ... set window size 1920 x 1080 as chrome window size!
my |
my |
my | ------------------ change VNC password  ------------------
my |
my | ------------------ start noVNC  ----------------------------
my |
my | ------------------ start VNC server ------------------------
my | remove old vnc locks to be a reattachable container
my | no locks present
my | start vncserver with param: VNC_COL_DEPTH=24, VNC_RESOLUTION=1920x1080
my | ...
my | start window manager
my | ...
my exited with code 1