2022-05-24 12:27:31 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2022-06-05 00:13:53 +00:00
|
|
|
# start VNC server
|
2022-05-24 12:27:31 +00:00
|
|
|
x11vnc \
|
|
|
|
-ncache_cr \
|
2022-06-02 18:25:51 +00:00
|
|
|
-listen localhost \
|
2022-05-24 12:27:31 +00:00
|
|
|
-display :1 \
|
|
|
|
-forever \
|
|
|
|
-shared \
|
|
|
|
-logappend /var/log/x11vnc.log \
|
|
|
|
-bg \
|
|
|
|
-noipv6 \
|
2022-06-03 14:22:50 +00:00
|
|
|
-autoport 3003 \
|
2022-05-24 12:27:31 +00:00
|
|
|
# can't use this because of ``asyncvnc`` issue:
|
|
|
|
# https://github.com/barneygale/asyncvnc/issues/1
|
|
|
|
# -passwd "$VNC_SERVER_PASSWORD"
|