Try to fix errors with previous commit

Also the local.d fix for lxdm only seemed to have gotten lost