Skip to content

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

Andrea Veri requested to merge fix_potential_flatpak_build_issue into master

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: https://source.puri.sm/Librem5/calls/-/merge_requests/264#note_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