-
-
Save utsavkesharwani/dbd40ddff1ffcf0d302c6aa1fadd6136 to your computer and use it in GitHub Desktop.
sytemd xvfb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=X Virtual Frame Buffer Service | |
After=network.target | |
[Service] | |
ExecStart=/usr/bin/Xvfb :1 -screen 0 1024x768x24 -ac +extension GLX +render -noreset | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
copy this file into
/etc/systemd/system/xvfb.service
then run
sudo
systemctl enable /etc/systemd/system/xvfb.service
then to start xvfb run:
sudo systemctl start xvfb.service
and to stop xvfb run:
sudo systemctl stop xvfb.service