1. I am currently follwing this instructional to set up auto login:
http://www.elinux.org/RPi_Debian_Auto_Login
It says to comment out this line:
Code: Select all
1:2345:respawn:/sbin/getty 115200 tty1Code: Select all
1:2345:respawn:/sbin/getty --noclear 38400 tty12. The next part says to add this line:
Code: Select all
1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&13. I still want to setup the auto login regardless, but I would like to know - must a user be logged in to auto-run a script? Does this change if this script is run as a cron job or a service?
Thanks for the help in advanced. As a novice I'm trying to learn as much as I can to actually learn instead of blindly following tutorials.