I am making a system, in which I need to be able to make the pi autologin and run a python3 script without a monitor or password. The script requires human input from a keyboard, but it doesn't work with systemd, and the console autologin doesn't go until a monitor is plugged in.

Yes, the keyboard input will be 'blind', but that's alright. I have access to SSH and a monitor for setup, but no screen or SSH when it runs.

I am using Raspbian stretch lite, and a pi 3 b

  • are you enabling autologin in raspi-config? – scitronboy Mar 28 '18 at 20:35
  • No idea with systemd, with sysvinit you'd add your script to /etc/rc.local. – Gerard H. Pille Mar 28 '18 at 23:14
  • If the human input is deterministic, surely you can generate it by script so you don't need the human? – Mark Setchell Mar 30 '18 at 7:17
  • @John You should merge your accounts if you are indeed the author of this post; that way, you will be able to edit your post without others having to review your suggestions. – Aurora0001 Apr 3 '18 at 9:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.