New user cannot login via display manager

Fresh install of Aurora. I logged in with the user created at install with no problems. My regular user account has a specific uid I wanted to preserve so I then created a new user for my self using the command line:

sudo groupadd -g 5002 matthew
sudo useradd -g matthew -m -u 5002 -c "Matthew" --btrfs-subvolume-home matthew
sudo groupmod -aU matthew wheel

I can su to the user no problem from my initial account, but when logging in via the display manager it goes black for a few seconds then returns to the display manager login.

Any ideas?

1 Like

I discovered the problem. Using useradd did not create the correct selinux context for the new user folder. I had to copy the context from the existing user using directions I found HERE . After that everything works perfectly.

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.