This commit is contained in:
岳松
2016-10-19 17:37:21 +08:00
parent a6dbbfd107
commit 4b8f2d4ac3

2
vnc.sh
View File

@@ -8,4 +8,4 @@ chmod 0600 /root/.vnc/passwd
echo "remove old vnc locks to be a reattachable container"
rm -rfv /tmp/.X*
chkconfig vncserver on
service vncserver start && bash
service vncserver start && tail -F /root/.vnc/*.log