0

Unable login to my account from GUI interface, only as Guest. When trying to login, within a few seconds I'm sent back to the login screen. Further, after trying some fixes, when trying login as admin, login screen is not returning back, get only a blank screen and it does not proceed further. Can only Guest login. Login from tty4 terminal is OK.

.xsession-errors contains only these lines:

Can't save user-dirs.dirs
Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
init:/home/username/.config/upstart: Unable to load configuration: Permission denied
init: dbus pre-start process (4902) terminated with status 1
3
  • Try to run xdg-user-dirs-update --force from a TTY. Jul 28, 2016 at 11:26
  • Tried this command, the output is Can't save user-dirs.dirs
    – minto
    Jul 28, 2016 at 12:17
  • 2
    After trying a few solutions, GUI access to admin account has been fixed. Basically, the last command I tried from TTY was 'sudo chown -R username:username /home/username' where 'username' is your account name. Then logout and rebooted PC.
    – minto
    Jul 28, 2016 at 13:24

1 Answer 1

1

I just had the same issue and found that the solution @minto posted as a comment worked for me, along with changing the .Xauthority and .ICEauthority permissions.

To summarize:

sudo chown -R username:username /home/username

Then logout and reboot.

If that didn't work then check out SiddharthaRT's answer on changing .Xauthority and .ICEauthority permissions in answer to Ubuntu gets stuck in a login loop.

0

Not the answer you're looking for? Browse other questions tagged .