Browse Source

Add files via upload

master
kenmartin-unix 4 years ago
committed by GitHub
parent
commit
15041fcfc5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 1 deletions
  1. +15
    -1
      startvnc

+ 15
- 1
startvnc View File

@@ -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 " "
echo "Stopping if running and starting vncserver" echo "Stopping if running and starting vncserver"
echo " " echo " "
export DISPLAY=:1 export DISPLAY=:1
killall openbox
killall autocutsel
killall xscreensaver
vncserver -kill :1 vncserver -kill :1
echo " "
vncserver -depth 24 -geometry 1280x600 -name "C.H.I.P." :1 vncserver -depth 24 -geometry 1280x600 -name "C.H.I.P." :1
# autocutsel &
openbox --replace &
autocutsel -v -f
sleep 2
killall xscreensaver
sleep 3
date



Loading…
Cancel
Save