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

wip

parent 9f98f3e8
......@@ -4,7 +4,8 @@ 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 uvcdynctrl tightvncserver xtightvncviewer openssh-server
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
install local web server:
......@@ -15,7 +16,7 @@ clone repos:
git clone https://gitlab.cba.mit.edu/pub/mods.git
git clone https://github.com/novnc/noVNC.git
install vnc service (assuming username is fab):
install VNC service (assuming username is fab):
cd /home/fab/cams
sudo cp tightvncserver.service /lib/systemd/system
sudo systemctl daemon-reload
......@@ -23,9 +24,18 @@ install vnc service (assuming username is fab):
sudo systemctl start tightvncserver.service
journalctl -u tightvncserver.service
can use:
set VNC password:
tightvncpasswd
edit .vnc/xstartup to set local Web server username and password
connect to VNC:
http://your_ip_address:6080/vnc.html
once connected can use:
ristretto to view images
uvcdynctrl -f to list resolutions
guvcview to adjust camera
......@@ -4,6 +4,8 @@ xrdb $HOME/.Xresources
xsetroot -solid grey
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
cd /home/fab/Downloads
ristretto . &
cd /home/fab/noVNC
./utils/launch.sh --vnc 127.0.0.1:5901 &
cd /home/fab/mods
......
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