Regardless of whether I boot to a GUI or to the console, I always want a password enabled on all of my machines.
I've looked at as many tutorials as I can find regarding this, and although there are apparently a myriad of ways to make debian boot to x and login automatically, I'm not using any of them that I can see. When I use the raspi-config script to set to boot GUI on startup, it bypasses my user password entry. As I have more than one user, this does not work.
So this question is, "How do I securely boot into x-server, maintaining a password before entering the GUI on Raspbian?"
EDIT:
The code on the line beginning 'sed' appears to set an auto-login function, if I don't misunderstand?
do_boot_behaviour() {
whiptail --yesno "Should we boot straight to desktop?" 20 60 2
RET=$?
if [ $RET -eq 0 ]; then # yes
update-rc.d lightdm enable 2
sed /etc/lightdm/lightdm.conf -i -e "s/^#autologin-user=.*/autologin-user=pi/"
ASK_TO_REBOOT=1
elif [ $RET -eq 1 ]; then # no
update-rc.d lightdm disable 2
ASK_TO_REBOOT=1
else # user hit escape
return 1
fi
}