Hi everybody, I recently reinstalled ubuntu 23.04 on my laptop. I had a backup of my old home and copied that into my new home after installation, installed updates and rebooted. Sadly, I forgot to make myself the owner of those files before rebooting. Instead of the login screen where you would normally enter your password, It showed me a welcome screen where I had to create a new user. I did that, then fixed my earlier mistake, logged in as my real user and ran userdel to get rid of the account I had to create. However, now it always shows me this welcome screen and I always have to create a new user. If I go through that and log out, I can log in with my real user after clicking on “not listed?” on the login screen. I could just reinstall again, but is there a way to fix this?

  • gelatinepudding1@feddit.nl
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Hide user from login list

    The users for the gdm user list are gathered by AccountsService. It will automatically hide system users (UID < 1000). To hide ordinary users from the login list create or edit a file named after the user to hide in /var/lib/AccountsService/users/ to contain at least:

    /var/lib/AccountsService/users/username

    [User] SystemAccount=true