System prerequirements
Linux
Install libx11-dev
sudo apt install -y libx11-dev
Install xvfb
sudo apt install -y xvfb
Initailize a frame buffer
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & export DISPLAY=:99.0
(You will need to do this everytime your reboot your server, I would add this to your .bashrc)
Add export DISPLAY=:99.0
to your .bashrc (nano ~/.bashrc
) file at the bottom
Add @reboot Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1
to your crontab (crontab -e
)
Last updated