Fix running under LightDM