summaryrefslogtreecommitdiffstats
path: root/environments/vncserver/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xenvironments/vncserver/entrypoint.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/environments/vncserver/entrypoint.sh b/environments/vncserver/entrypoint.sh
new file mode 100755
index 0000000..6c7c1ad
--- /dev/null
+++ b/environments/vncserver/entrypoint.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+echo "remmina" >> ~/.vnc/passwd
+
+# Start the vnc server while only accepting connections through the unix-socket.
+# This will prompt the user for a password
+vncserver -rfbport=5555 -localhost no -Log *:stderr:100 -xstartup /usr/bin/xterm
+tail -f ~/.vnc/*.log