Skip to content

ci: add -noreset to xvfb-run invocation for flatpak builds

Should fix

Unable to init server: Could not connect: Connection refused
(/run/build/calls/_flatpak_build/tests/origin:671): Gtk-WARNING **: 10:46:56.030: cannot open display: :99.0

See: !264 (comment 144780)

Phoc also does it like this: https://source.puri.sm/Librem5/phoc/-/blob/master/.gitlab-ci.yml#L17

However I'm a bit confused that -noreset is not mentioned in the manpage: https://helpmanual.io/man1/Xvfb/ https://helpmanual.io/man1/xvfb-run/

Merge request reports