On 2019-07-17 19:06 +0200, François Mazen wrote: > Dear mentors, > > I'm trying to add auto-pkg-tests to the flightcrew package with CI on > Salsa repo. > > When I launch the flightcrew-gui binary via autopkgtest, I got the > following error on Salsa CI [1]: > > "flightcrew-gui: cannot connect to X server" > > I suppose the Salsa CI server is headless, but adding xvfb and xauth as > dependency [2] does not change the error. > > Could you please help?
I haven't looked at the tests in detail, but you need to run GUI programs under xvfb-run(1). Cheers, Sven