-
yum install xorg-x11-server-Xvfb
-
Copy
Xvfb.service
file under/etc/systemd/system/
-
chmod +x /etc/systemd/system/Xvfb.service
-
systemctl enable Xvfb.service
-
systemctl start Xvfb.service
Last active
September 8, 2023 13:13
-
-
Save ypandit/f4fe751bcbf3ee6a32ca to your computer and use it in GitHub Desktop.
Xvfb as a systemd service
This file contains hidden or 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 :99 -screen 0 1024x768x24 | |
[Install] | |
WantedBy=multi-user.target |
It's unnecessary to make it executable
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why do you make the Xvfb.service file executable?