на sudo /etc/init.d/lightdm stop:
Rather than invokinh init scripts through /etc/init.d, use the service(
utility, e.g. service stop
Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the stop(
utility, e.g. stop lightdm