I cannot login anymore on my computer running Debian stretch. After I enter the password the login screen disappears and it looks like it's going to login but it eventually goes back to the login screen.
It happened after I installed mtrack following the steps described on this blog: The almost perfect touchpad settings on linux
I can login if I press CTRL ALT F2 and type my username and my password. At first after logging in this way there was a message saying:
bash- /usr/share/defaults/etc/profile is not a file or a directory.
So I copied the file profile in
/usr/share/base-files/profile and put it in
/usr/share/defaults/etc/profile and now it welcomes me with a message saying:
bash- /usr/share/defaults/etc/profile is a file or directory
but I still can't login.
As I said it happened after I followed the steps shown on the blog linked above and it seems it has something to do with
xserver (after the installation it recommends to reboot the computer to restart xserver and that's when my problem started.)
I tried the suggestions in the links below but nothing worked for me.
.Xauthority is owned by me and not root, so it's not this.
xserver as suggested on one of the links but it didn't work.
I'm sure my password is correct because 1) I can login in terminal mode 2) It shows an error when I enter an incorrect password.
I have GNOME3 installed.