Hello All;
I followed the links that several of you suggested, regarding systemd.
As near as I can tell, I haven’t missed anything and it still doesn’t “auto Login”.
First of all, here are the steps:
- md /etc/systemd/system/getty@tty1.service.d
cd /etc/systemd/system/getty@tty1.service.d
nano autologin.conf
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin root --noclear %I 38400
linux
Edit the file: ‘/etc/systemd/system/getty.target.wants/getty@tty1.service’
and find the line: ‘ExecStart=-/sbin/agetty %I 38400’
and change to: ‘ExecStart=-/sbin/agetty –noclear -a USERNAME %I 38400’
The –noclear is optional, it prevents the screen from clearing out the console messages.
- reboot
Here is what happens when I type “systemctl status getty@tty1.service” after logging in as root.
(Auto login doesn’t work obviously)
getty@tty1.service - Getty on tty1
Loaded: loaded (/lib/systemd/system/getty@.service; enabled)
Active: active (running) since Sun, 13 Sep 2015 21:02:14 +0000; 59s ago
Main PID: 1767 (login)
CGroup: name=systemd:/system/getty@.service/tty1
â 1767 /bin/login
The post login message is:
Debian GNU/Linux 7 beaglebone ttyO0
BeagleBoard.org Debian Image 2015-03-01
I am wondering about the “ttyO0” part of the message, and how this relates to “tty1” which I believe is a device?
Thanks
Bill