[ubuntu] Can't log in from console

view full story

http://ubuntuforums.org – I am running Ubuntu Server 12.04. I can't log in from the console or ssh. On ssh I get 'Connection closed by <ip>' and on the console if the correct password is given then the login screen just refreshes. I had been trying to install samba4 yesterday but I could still log in after that. This morning I tried to log in and get these symptoms. I have Webmin and can access log files but I need to get into the system from the console. I used Webmin to uninstall samba4 but that hasn't changed anything. (Hardware)