Jetpack 4.2 is working on TX2.
I want to autologin the serial console.
For Jetpack 3.2
ExecStart = - / sbin / agetty --autologin nvidia --keep-baud 115200,38400,9600% I $ TERM
The above configuration file automatically logs in.
How do I configure Jetpack 4.2?
For the console on UART (ttyS0 or ttyGS0).
sudo vim /etc/systemd/system/getty.target.wants/serial-getty@ttyGS0.service
-> Add -a <username> into the param line of agetty.
For the console on framebuffer (monitor/tty0),
sudo vim /email@example.com
-> Add -a <username> into param line.
If you do this, you do not need to type an account, but you must type passwd.
How do I avoid typing passwd?
The one you are asking is called passwordless authentication but not auto-login.
I guess you could refer to