view ci/setup-xvfb.sh @ 23410:ae3421daa981 v8.2.2248

patch 8.2.2248: ASAN error on exit with GUI Commit: https://github.com/vim/vim/commit/2808da39f9aad674d25df784da636e42372b78e3 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 30 14:08:35 2020 +0100 patch 8.2.2248: ASAN error on exit with GUI Problem: ASAN error on exit with GUI. Solution: Check the window still has lines. (Christian Brabandt, closes #7573)
author Bram Moolenaar <Bram@vim.org>
date Wed, 30 Dec 2020 14:15:03 +0100
parents 1984a3fcc953
children
line wrap: on
line source

#!/bin/bash
set -e

apt-get install -y xvfb

cat <<EOT >/etc/systemd/system/xvfb.service
[Unit]
Description=X Virtual Frame Buffer Service
After=network.target
[Service]
ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24
[Install]
WantedBy=multi-user.target
EOT

systemctl enable xvfb.service
systemctl start xvfb.service