Auto-Login when booting into CLI (command line) mode

Is it possible to configure the Jetson automatically login when it’s set to boot into CLI mode?

Auto-login works perfect when booting into GUI mode.
I would like to run my system headless, therefore there is no need for me to launch the Desktop (gdm3.service).

I managed to configure boot to CLI following this post and using this command:
sudo systemctl set-default

However the system prompts for a username an password right after booting.

I tried following this post but could not find the /etc/systemd/system/serial-getty@ttyS0.service.d/autologin.conf file on the Jetson Xavier NX.

What would be the right configuration to auto-login into a CLI session on the Jetson Xavier NX?

Hi yurikleb,

You can edit “/etc/gdm3/custom.conf” to enable auto login.

AutomaticLogin=[your username]

Hey @carolyuu

I already have those settings enabled in my “ /etc/gdm3/custom.conf ” file.
With one small difference:
AutomaticLogin=[my username]

And auto-login work well when booting into GIU mode.

However when I disable boot to GIU via sudo systemctl set-default and the system boots into CLI, it still asks for a username and password.

The CLI does not support auto login. Similar question was asked by other users too.

Only the GUI supports the auto login.

Sorry for my typo.
AutomaticLogin=[your username]

1 Like