Neil Bothwick hammers open your kernel and walks away.
Q Pop!_OS woes
I recently refreshed my Pop!_OS install. Afterwards my account was no longer available on the lock screen or user settings screen, but I could log in using the User Not Listed button on the login screen. I did some duckduckgoing and decided to rename my home folder, then delete my old account and create a new account with the same username as before. I then deleted the generated home folder and replaced it with my old home folder. Is there a better way to do this, and is there a program I could use to reinstall some applications that I always install after an OS reinstall? I realise I could just make a bash script, but was wondering if there was an easier way.
Kieran Klukas
A While deleting and recreating your user like this seems to have worked, there is a risk. Linux uses numeric user IDs (UIDs) to determine who owns what. /etc/ passwd is used to map user names to UIDs. The first user usually has a UID of 1000, but if your replacement user had a different UID, say 1001 because the system didn’t want to reuse an ID, you wouldn’t have write access to your home directory or any of its contents, which can cause the desktop to fail to load.
The fix for the problem is obscure, but simple to implement. For some reason the account for your user has been incorrectly flagged as a system account, and those users aren’t included on the login screen.
Run this commend in a terminal:
$ sudo nano /var/lib/AccountsService/ users/USER
where USER is your