Jetson TX2 boot to desktop without login

While I was reinstall pip on Jetson TX2, my desktop froze.
I reboot TX2 by pressing power button for 10 seconds.
After that, TX2 boot to a desktop with only mouse curser.

To solve this, I reinstall ubuntu desktop and unity.

Now TX2 boot to desktop without login password. I also checked User Account - Automatic Login -OFF.

How to solve this?

lightdm-autologin.txt (551 Bytes)

I am not sure, but it probably updated “/etc/pam.d/lightdm-autologin”. Can you make a copy of that file, rename it with a “.txt” suffix, and then attach it? If you hover your mouse over an existing post’s upper right corner edit icon, then a paper clip icon will also show up…and that is how to attach to an existing post.

Hi, linuxdev

File is attached. Thank you for your response. Instruction is also very clear.
I don’t quite understand this lightdm-autologin. Can you help take a look?

Thank you
Chaozzzzzz

The file looks like it should. If you look at “/etc/lightdm/users.conf”, does the active code without comments look like this:

[UserList]
minimum-uid=500
hidden-users=nobody nobody4 noaccess
hidden-shells=/bin/false /usr/sbin/nologin

What do you see from:

sudo grep nopasswdlogin /etc/group

It should read like this, without any names appended:

nopasswdlogin:x:127:

I faced that and just went to Ubuntu Settings/User Accounts, selected my account (nvidia), auto-login showed off, but unlocked it, turned it on then off, relocked the account and rebooted, it was fixed.

If it can not be done with the method above or with reinstalling desktop packages group with apt, I would consider reflashing as a solution.

Every thing is the same as yours.

Hi, Honey_Patouceul
I tried this. It works for me. Thank you.
Chaozzzzzz

Reflash will always be my last choice. Done a lot of work on the env.
Thank you.