I have Ubuntu 16.04 but am a total noob. When I try to login, I simply get kicked back out to the login screen. Same in tty in ctrl-shft-F3. I have a usb keyboard and mouse with a bios setting of "Legacy USB Support" set to "Enabled", yet when I access GNU GRUB version 2.02~beta2-36ubuntu3.2, the keyboard doesn't respond. It works fine in the BIOS and after the GRUB, so I can't access the recovery mode.
When this first occured, my screen resolution was very small so everything looked zoomed in. The login loop problem was apparent and I suspected my graphics card (GeForce GTX960), so i took it out and relied on my onboard graphics instead. This fixed the resolution but the login loop persists. I seem to remember making manual changes to the graphics driver to stop screentearing I was experiencing. This may have played a part.
I have accessed my pc using a installation cd with "try ubuntu without installing" to enable usb functionality in the etc\default\grub file but this is read-only. Also I cannot backup my home directory as it says I don't have permission.
How can I get my PC back? I don't want to go back to windows. I only have 1 OS installed with most (but not all) of my files on a seperate drive. GA-H170-HD3 is my board.
Can anyone help? No other thread has heped me so far.
Edit: I can use my keyboard with the GRUB on the installation usb stick. But not my harddrive installation. Also there is no countdown in my GRUB, contrary to some comments on some forums i've seen. Edit: I have also checked my keyboard settings and i am typing in my password correctly. I typed it under username where it was visible to make sure. Neither my main password peotected account, my unprotected user account or unprotected guest account are accessible from either the gui or tty.