You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
546 B

  1. # 06-30-2020 KM
  2. # Be sure to apt-get install tightvncserver, openbox, autocutsel on the C.H.I.P.
  3. # The sleep's are intentional
  4. # Best results with Real VNC Viewer on P.C. On P.C. setup as IP-Address:1
  5. # As configured Display 1 is setup
  6. echo " "
  7. echo "Stopping if running and starting vncserver"
  8. echo " "
  9. export DISPLAY=:1
  10. killall openbox
  11. killall autocutsel
  12. killall xscreensaver
  13. vncserver -kill :1
  14. echo " "
  15. vncserver -depth 24 -geometry 1280x600 -name "C.H.I.P." :1
  16. openbox --replace &
  17. autocutsel -v -f
  18. sleep 2
  19. killall xscreensaver
  20. sleep 3
  21. date