Page 1 of 1
AgentDVR and Fedora 40 unable to connect to server
Posted: Tue Sep 24, 2024 2:58 am
by GiGaBiTe
There's a bug in the AgentDVR install script when installing on Fedora 40. Apparently, Fedora 40 changed the adduser command, so the install script will break and not complete this critical task. The end result is the user not being able to connect to the AgentDVR dashboard in the web browser.
The offending flag is -G, which should be -g in Fedora 40. You can do this manually in a bash console using sudo:
Replace $user with the current user that you expect to use AgentDVR with. If you have multiple users, then you'll need to add every user that uses it this way.
Re: AgentDVR and Fedora 40 unable to connect to server
Posted: Fri Oct 25, 2024 1:34 am
by GiGaBiTe
As an addendum, there appears to be a bug in Firefox that also prevents the cameras from being viewed on a remote computer on the local network.
Apparently AgentDVR needs microphone access to be able to show video streams. Why? I have no idea, but it does.
This is a problem because AgentDVR doesn't explicitly request microphone access from Firefox, and Firefox requires a website to request microphone access to get it. You can view the whitelist in the settings page, but there is no way to manually add a website.
There is a workaround, albeit not a great one. If you go into about:config and set "permissions.default.microphone" from 0 to 1, it will give default microphone permission and Agent DVR will work. The problem is that this is global microphone permission for all websites, which is a big security risk. I don't recommend doing this unless the viewer doesn't access the internet, just use another browser instead. Both Edge and Chrome don't need this workaround to work as of writing.