0

I'm experiencing an issue where Ubuntu logs the user out immediately after logging in - there's a few moments of black screen following login and I'm returned back to the logon prompt, this is occurring for all users including Guest.

For background: I recently changed my standard user account to an admin account (there are now two admin accounts and one guest). From what I've found online it sounds as though doing this might have caused some sort of permission or ownership clash on a system file, but I'm not certain this is the case.

I've already looked online and found and attempted the following solutions without success:

  1. Remove .Xauthority file and restart lightdm service (Ubuntu 16.04 LTS will automatically log out)

  2. Reinstalling Unity sudo apt-get update sudo apt-get install --reinstall ubuntu-desktop sudo apt-get install unity (I am logged out immediately after logging in)

  3. Reestablishing owner and group of my home directory. sudo chown -R username:username /home/useusername (as above)

I'm a new Ubuntu user and I'd like to improve my Linux knowledge as well as learn how to solve this particular issue. Any resources or advice would be greatly appreciated.

  • How did you change this account to admin? – George Udosen Aug 9 '17 at 6:49
  • Within the Ubuntu settings menu under Accounts. I needed to do this from the existing admin account. – Marty Lawrence Aug 9 '17 at 11:03

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.