Linux Mint is pretty locked down, since it's intended to be a desktop OS -- not sure if this is the issue, but it very well might be. You might want to consider installing Debian itself, without any desktop environment, and then install Docker. Add Portainer, Cockpit and Cockpit-Navigator and you'll have a very nice WebUI-based setup.
If you decide to go that route, here's a docker compose I'm using in Portainer-Stacks that supports setting your bitrates as an environment variable. Also, you can connect to this container using VNC to enter credentials and such:
version: '3.9'
services:
chrome-capture-for-channels:
image: fancybits/chrome-capture-for-channels:latest
container_name: cc4channels
command:
- sh
- -c
- |
Xvfb :99 -screen 0 1920x1080x16 &
x11vnc -display :99 -forever &
sed -i '/videoBitsPerSecond/c\ videoBitsPerSecond: process.env.VIDEO,' main.js;
sed -i '/audioBitsPerSecond/c\ audioBitsPerSecond: process.env.AUDIO,' main.js;
exec node main.js
#devices:
#- /dev/dri:/dev/dri # Uncomment for Intel Quick Sync (GPU) access
ports:
- 5589:5589 # cc4channels proxy port
- 5900:5900 # VNC port for entering credentials
environment:
- VIDEO=${VIDEO}
- AUDIO=${AUDIO}
- TZ=${TZ} # Add your timezone in the Environment variables section with "name" set to TZ and "value" to your local timezone
volumes:
- cc4channels:/home/chrome # Creates persistent Docker Volume in /var/lib/docker/volumes for Chrome data and main.js
restart: unless-stopped
volumes:
cc4channels: