Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
pub
cams
Commits
07b88edd
Commit
07b88edd
authored
Jan 07, 2018
by
Neil Gershenfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
ad0ec9dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
16 deletions
+15
-16
README.md
README.md
+12
-13
xstartup
xstartup
+3
-3
No files found.
README.md
View file @
07b88edd
...
...
@@ -18,24 +18,23 @@ clone repos:
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
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:
tightvncpasswd
edit .vnc/xstartup to set local Web server username and password
edit ./home/fab/vnc/xstartup:
set the local Web server username and password
can use https certificates
connect to VNC:
http://your_ip_address:6080/vnc.html
once connected can use:
ristretto to view images
guvcview to adjust camera
http://your_ip_address:6789/vnc.html
once connected:
approve browser request to use camera, download multiple files
can use ristretto to view images
can use guvcview to adjust camera
xstartup
View file @
07b88edd
...
...
@@ -7,8 +7,8 @@ export XKL_XMODMAP_DISABLE=1
cd
/home/fab/Downloads
ristretto
.
&
cd
/home/fab/noVNC
./utils/launch.sh
--vnc
127.0.0.1:5901 &
./utils/launch.sh
--listen
6789
--vnc
127.0.0.1:5901 &
cd
/home/fab/mods
http-server-with-auth
--username
your_username
--password
your_password &
chromium-browser http://your_username:your_password@127.0.0.1:
8080
/?program
=
programs/image/motion%20detect&
http-server-with-auth
-p
5678
--username
your_username
--password
your_password &
chromium-browser http://your_username:your_password@127.0.0.1:
5678
/?program
=
programs/image/motion%20detect&
/etc/X11/Xsession
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment