Commit f3aaebde authored by Neil Gershenfeld's avatar Neil Gershenfeld
Browse files

add mods

parent 016453a7
shopcam server
can use Ubuntu MATE on a Raspberry Pi 3 with a Logitech C920 HD Webcam
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install gedit chromium-browser git npm nodejs-legacy guvcview ristretto tightvncserver xtightvncviewer openssh-server
sudo systemctl enable ssh
System -> Administration -> Time and Date -> Keep synchronized with internet servers
sudo update-manager -> turn off automatic updates
install local web server:
sudo npm install -g http-server-with-auth
clone repos:
git clone
git clone
git clone
install VNC service (assuming username is fab):
cd /home/fab/cams
sudo cp tightvncserver.service /lib/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable tightvncserver.service
sudo systemctl start tightvncserver.service
journalctl -u tightvncserver.service
set VNC password:
configure VNC:
cp /home/fab/cams/xstartup /home/fab/.vnc/
gedit /home/fab/.vnc/xstartup
set the local Web server username and password
can use https certificates
configure noVNC:
cd /home/fab/noVNC
./utils/ --listen 6789 --vnc &
configure network
connect to VNC:
once connected:
approve browser request to use camera and download multiple files
can use ristretto to view images
can use guvcview to adjust camera
to make a persistent change to the threshold,
edit the motion detect module initialization,
save it as a local program,
and change the path in xstartup
Description=TightVNC server
ExecStart=/usr/bin/tightvncserver :1 -localhost
xrdb $HOME/.Xresources
xsetroot -solid grey
# Fix to make GNOME work
cd /home/fab/Downloads
ristretto . &
cd /home/fab/noVNC
./utils/ --listen 6789 --vnc &
cd /home/fab/mods
http-server-with-auth -p 5678 --username your_username --password your_password &
chromium-browser http://your_username:your_password@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment