Fix debian installation and change headless