This commit is contained in:
岳松
2016-10-18 15:25:44 +08:00
parent 955868a923
commit 2ebf4e8d9b

6
vnc.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
# Remove VNC lock (if process already killed)
rm /tmp/.X1-lock /tmp/.X11-unix/X1
# Run VNC server with tail in the foreground
vncserver :1 -geometry 1280x800 -depth 24 && tail -F /root/.vnc/*.log