This may help with the sporadic "No display" failures we are seeing when running tests under X11 in ci.