Start xvfb.service by default in ARM64

Hi Team,

I have the same issue in starting xvfb service by default for ARM64 platform whereas it works fine for AMD64 platform. I have resolved it by adding it as services in the arm64 jobs as below:

services:
- xvfb

May I know how can we start xvfb services by default as similar to AMD64 platform?

Thanks.

1 Like

Would look at this link I worked on.

Thanks @Montana for the link. As I have mentioned in my previous comment for ARM64 platform xvfb-run command is working if I add xvfb in services in travis.yml file, whereas for AMD64 platform xvfb services are running by default, no need to add services specially in yml file.

So, I want to know whether can we have xvfb services running by default for ARM64 platform as well?

1 Like

Is there a problem with adding

services:
  - xvfb
addons:
  apt:
    packages:
      - xvfb

globally?

My test suggests that there isn’t.

ARM64 builds run on less powerful hardware with more limited resources, so it makes sense to not autostart services that are only needed in a minority of cases.

Thanks for the details. I will proceed with “Services” in yml.