Kicked out when logged in?

Solution 1:

Try removing the file ~/.Xauthority.

To do that,

  • Press Ctrl+Alt+F1 at the login page.

  • Enter your username and password, and you'd be able to login using tty.

  • Now, delete the file:

sudo rm ~/.Xauthority