feat: dockerize, fix sign in loop

This commit is contained in:
Trung Le 2022-03-31 03:06:01 +07:00
parent 3b3289dddf
commit a8c578bd93
6 changed files with 127 additions and 13 deletions

12
docker/vnc-start.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
# Disable fbsetbg and start fluxbox in a background process:
mkdir -p ~/.fluxbox && echo 'background: unset' >>~/.fluxbox/overlay
fluxbox -display "$DISPLAY" &
# Start VNC in a background process:
x11vnc -display "$DISPLAY" -forever -shared -rfbport "${VNC_PORT:-5900}" \
-passwd "${VNC_PASSWORD:-secret}" &
# Execute the given command:
exec "$@"