To support headless devices, it is necessary to remove graphics related dependencies.