Intel and XMir
Intel and XMir
Posted Oct 1, 2013 12:21 UTC (Tue) by JanC_ (guest, #34940)In reply to: Intel and XMir by niner
Parent article: Intel and XMir
Posted Oct 1, 2013 12:31 UTC (Tue)
by niner (subscriber, #26151)
[Link]
[Unit]
[Service]
[Install]
There might be some obscure system where this might not work. Maybe. Small chance.
Now write a SysV init script that does the same and works on at least the major distributions. After network's up, Xvfb should be started with the given parameters and if it crashes it should be restarted. It should by default be enabled in a multi-user runlevel. And to make things interesting: do it without having these distributions to test. Bonus points for not even having to try to find distribution specific documentation.
Systemd makes this so, so, so much easier. Finally.
Intel and XMir
Description=X Window Virtual Framebuffer
After=network.target
Type=simple
ExecStart=/usr/bin/Xvfb -screen 0 800x600x24
Restart=always
WantedBy=multi-user.target