Disable autologin and lightdm on the BeagleBoard.org Latest Debian Firmware Image

Hello,
I lately decided to install the latest BeagleBoard.org Debian FIrmware image on the Beaglebone Black (MicroSD version). When the image boots it automatically logs into LXDE. I’d like to disable autologin and have the BBB boot to the command line; with the option of starting LXDE later as needed with the startLXDE command. What do I have to do to make these modifications?

Regards,
Hussam

These are the changes down to lightdm to make it autologin:

https://github.com/beagleboard/image-builder/blob/master/target/chroot/beagleboard.org.sh#L109

Disable the lightdm service, then it shouldn't start on bootup.

Regards,