feat: dockerize, fix sign in loop
This commit is contained in:
parent
3b3289dddf
commit
a8c578bd93
6 changed files with 127 additions and 13 deletions
12
docker/vnc-start.sh
Executable file
12
docker/vnc-start.sh
Executable 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 "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue