User not found in the Setting

Today, when I turned my laptop on, Ubuntu(20.04) showed me a "Create a user" page instead of a login page.

So I created a new user. Then there was an upgrade notification and I upgraded the Ubuntu. When I tried to run the $whoami command, it showed me the name of my older username. But in setting>Users I cannot see any user and it says "No User Found"

What happened and What is the solution? Thanks:)

enter image description here

1 Answer

sudo su
cd /var/lib/AccountsService/users
nano <your user name>

change the value for SystemAccount and change it to false reboot your computer

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like