From 15041fcfc515b52ffd2585447e90e594c44eeaa5 Mon Sep 17 00:00:00 2001 From: kenmartin-unix <58759557+kenmartin-unix@users.noreply.github.com> Date: Tue, 30 Jun 2020 22:17:40 -0400 Subject: [PATCH] Add files via upload --- startvnc | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/startvnc b/startvnc index 50e8abd..0f9d934 100644 --- a/startvnc +++ b/startvnc @@ -1,8 +1,22 @@ +# 06-30-2020 KM +# Be sure to apt-get install tightvncserver, openbox, autocutsel on the C.H.I.P. +# The sleep's are intentional +# Best results with Real VNC Viewer on P.C. On P.C. setup as IP-Address:1 +# As configured Display 1 is setup echo " " echo "Stopping if running and starting vncserver" echo " " export DISPLAY=:1 +killall openbox +killall autocutsel +killall xscreensaver vncserver -kill :1 +echo " " vncserver -depth 24 -geometry 1280x600 -name "C.H.I.P." :1 -# autocutsel & +openbox --replace & +autocutsel -v -f +sleep 2 +killall xscreensaver +sleep 3 +date