I changed the init system from sysvinit to systemd on a raspbian installation. The install boots fine, but now starts lightdm on boot. I don't want it to do that.
I noticed lightdm.service is started on boot. Stopping the service with
systemctl stop lightdm.service
works fine.
systemctl disable lightdm.service should disable it, but gives me
Failed to issue method call: No such file or directory
systemctl status lightdm.service gives me
lightdm.service - LSB: Light Display Manager
Loaded: loaded (/etc/init.d/lightdm)
Active: …Run Code Online (Sandbox Code Playgroud)