Linux Format

Answers

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

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format5 min read
Tips For Managing Docker Containers
Everyone knows how containers revolutionised application building and deployment. Using a E disposable stack of containers that make up an app that aren’t using the docker-compose command to manage the stack are missing a trick. It allows the shippin
Linux Format1 min read
Installation Complications
The Linux Mint system package for Timewarrior was out of date, so we installed the latest version from Snap. The Hamster package in the distribution repository was the latest stable release (which is quite old), but we could also have installed via F
Linux Format3 min read
Drauger OS 7.6
We love the idea of a gaming-specific version of Linux, but Drauger fails to deliver. Given the setup/kernel issues, you’re far better off installing Ubuntu, then adding gamingspecific packages yourself. CPU: 1.8GHz (2GHz suggested) Mem: 1GB (6GB sug

Related Books & Audiobooks