Difference between revisions of "LibVNC"

From ZoneMinder Wiki
Jump to navigationJump to search
 
(11 intermediate revisions by the same user not shown)
Line 2: Line 2:


==Setup==
==Setup==
===Windows===
===Using TightVNC on Windows===
Install TightVNC.
1. Install TightVNC. https://www.tightvnc.com/download.html
https://www.tightvnc.com/download.html
 
Setup a view only user with a password. Disable the primary user and
2. Setup a view only user with a password. Disable the primary user and
also disable the java client. There is also the Access Control page where
also disable the java client. There is also the Access Control page where
you can optionally put firewall rules in to only allow access to the
you can optionally put firewall rules in to only allow access to the
Line 17: Line 17:
just a password is used. The resolution may be any value that you want to record
just a password is used. The resolution may be any value that you want to record
at. I have not tested how it affects performance, but have had success with both
at. I have not tested how it affects performance, but have had success with both
1600x600 and also at say 320x240.
1600x600 and also at say 320x240.
 
NOTE: on the firewall page, the proper syntax for blocking all ips is:
allow ip low  ip high
block 0.0.0.0 255.255.255.255
In that order. You can't simply put block 0.0.0.0, you must put the whole range there.
 
===Settings===


[[File:Libvnc2.png|800px|||]]
[[File:Libvnc2.png|800px|||]]
Line 23: Line 30:
[[File:Libvnc3.png|700px|||]]
[[File:Libvnc3.png|700px|||]]


If everything goes right, you should have the computer screen recording in Zoneminder.
If everything goes right, you should have the computer screen recording in Zoneminder.
Note: There has been a bug where the computers, if shut down then the recording will
freeze in ZM. This can be avoided by restarting the monitor or ZM service after the
computer is shut off (e.g. overnight).


[[File:Libvnc4.png|800px|||]]
[[File:Libvnc4.png|800px|||]]


==See Also==
==See Also==
* https://thetechnologyteacher.wordpress.com/vncthumbnailviewer/ Another attempt at screen recording Windows computers.
* https://thetechnologyteacher.wordpress.com/vncthumbnailviewer/ Another project which screen records computers using VNC.

Latest revision as of 17:20, 16 January 2024

Zoneminder can not only record cameras, but can also do screen recording of Windows/Linux/Mac or any computer that uses VNC. LibVNC in 1.36 is a way to record VNC sessions. Any VNC server should be able to be used, but this guide has tested only TightVNC.

Setup

Using TightVNC on Windows

1. Install TightVNC. https://www.tightvnc.com/download.html

2. Setup a view only user with a password. Disable the primary user and also disable the java client. There is also the Access Control page where you can optionally put firewall rules in to only allow access to the ZM server.

Libvnc1.png

My settings in Zoneminder look something like this. Note that I've specified to record only 2 FPS. For LibVNC, you should specify a max FPS. 2 is enough for my use case. Also note that there is no username, and instead just a password is used. The resolution may be any value that you want to record at. I have not tested how it affects performance, but have had success with both 1600x600 and also at say 320x240.

NOTE: on the firewall page, the proper syntax for blocking all ips is:

allow ip low  ip high
block 0.0.0.0 255.255.255.255

In that order. You can't simply put block 0.0.0.0, you must put the whole range there.

Settings

Libvnc2.png

Libvnc3.png

If everything goes right, you should have the computer screen recording in Zoneminder. Note: There has been a bug where the computers, if shut down then the recording will freeze in ZM. This can be avoided by restarting the monitor or ZM service after the computer is shut off (e.g. overnight).

Libvnc4.png

See Also