i was trying to disable the lightdm at boot. ( i installed also the desktop but, since i need to mount it on a drone, i would like to decide if switch it on at boot time ).
Is there someone that already managed this problem?
This should do the trick:
echo "manual" | sudo tee -a /etc/init/lightdm.override
In general, you can search for things like this since they are the same as when using regular Ubuntu 14.04: