Head_on_a_Stick wrote:You're welcome
Thread Update for Debian jessie (systemd)For automatic login, edit the file at
/etc/systemd/system/getty.target.wants/getty@tty1.service and change the "ExecStart=" line in the "[Service]" section to this:
- Code: Select all
ExecStart=-/sbin/agetty -a <user name> %I $TERM
Replace "<user name>" with your user name.
Heya there Head_on_a_Stick,
This part of your code interests me (ofcourse i am using right now)
- Code: Select all
ExecStart=-/sbin/agetty -a nili %I $TERM
...but I need a help, since i have actived only two tty "tty1 which startx autostart and tty2 as a backup".
I noticed after startx start on tty1 while on tty2 it is made nili (automatic login). I don't want to stay login all time tty2 (as well couldn't stop with exit because autostart again

) It must be stopped early on boot.
So, my question: Is there anyway to prevent autologin on tty2?
Many thanks...
Kindly regards
Nili
OS: FreeBSD // CWM & Devuan // Fluxbox (lean & mean).
I only play 96kHz Hi-Res audio WAV or FLAC via DAC player.
Chuck Norris doesn't approve systemd.