I managed to totally lose my ability to log into the only non guest account on my personal Ubuntu machine.
I am learning more about linux and I was reading about virtual consoles which I was struggling to understand.I opened up a terminal and started playing around in the /dev directory to try to understand what was going on with the tty devices.
first I redirected stdout from an echo to dev/null for a baseline I then did the same to dev/random I then did the same to dev/tty1
All is good up to this point, as far as I can tell.
I then typed sudo X to see what happened when I tried to create another instance of X. at this point I get thrown to a black terminal
the terminal is prompting me
dev's login: password:
but my normal login info doesn't work. I am not quite sure what to put for the login piece I tried the username and password of my main account and it said invalid credentials.
I then restarted assuming this would be the end of my trouble. Now when I get to my login and submit my normal credentials, I get a flash of the black console and then it just throws me back to the login page with no errror.
I'm hoping this may be an obvious fix to someone with linux experience.