I cannot login via the GUI with a new user account I created in Ubuntu 22.214.171.124
I've read a lot of other threads that are similar to this problem, but nothing I've tried has worked.
The user has been added with a custom uid and gid - both 789.
The new user doesn't have a .Xauthority file in its home dir.
I attempted to remove the user and add it again with
adduser but without luck.
The original user created during installation of Ubuntu 16.04.5 is able to login to the GUI without any problems.
I have tried uninstalling, reinstalling, and restarting the service lightdm without any luck.
I should also add that the new user has these permissions on its home dir, same as the other functioning user. drwxr-xr-x. Also I forgot to mention that on the login screen, the new users name is not displayed at all as an option, only the original user during installation and "guest" are available.