Archived
2
0
This repository has been archived on 2024-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
neko-custom/.docker/x11vnc

8 lines
216 B
Plaintext
Raw Normal View History

2020-01-13 21:05:38 +13:00
#!/bin/bash
if [ ! -f "${HOME}/.vnc/passwd" ]; then
x11vnc -storepasswd
fi
/usr/bin/x11vnc -display :0 -6 -xkb -rfbport 5901 -rfbauth $HOME/.vnc/passwd -wait 20 -nap -noxrecord -nopw -noxfixes -noxdamage -repeat