Capturing Browser Sessions on a Headless Ubuntu Server

Hi everyone in the self-hosting community! I currently capture browser activity using OBS on my PC, but now I want to achieve the same on my headless Ubuntu server. I’m evaluating whether setting up a Docker container with a GUI environment—and then managing it via VNC—would be the ideal solution to run both the browser and OBS effectively. Any recommendations or alternative approaches would be greatly appreciated. Thanks for your help!

hey, i had luck using xvfb and a dummy display for the browser. running a full gui in docker might be overkill. try that route and see if it meets your needs, might be smoother than juggling vnc sessions.

In my experience, managing a headless browser session on an Ubuntu server can be accomplished without the need for a full GUI environment. I encountered a similar challenge in the past and found that using a headless browser through automated tools allowed for greater control and reduced complexity. Setting up a Docker container with VNC may work, but it introduces additional layers for management and potential performance issues. Focusing on a lightweight virtual display can streamline the process while still meeting your objectives. It might be worthwhile to prototype both approaches to determine which best suits your specific requirements.