It was working fine, now its stuck in that safe mode
Ubuntu was working fine. I installed virtualbox (may not be the problem) and then restarted and it went into safe mode. I restarted again and it stayed in safe mode. I inunstalled virtualbox, tried again and it was still in safe mode. After that, i went onto the windows partition (i installed ubuntu using wubi) for a little while, went back onto ubuntu and it went straight into that mode it puts you in when you press windows key + backspace or whatever the combination is. Then i turned it off and turned it back on again and it was out of safe mode but it was stuck in 1280x786 (i use 1280x800 normally) and wouldn't connect to the internet.
How can i put it back to 1280x800 and connect to the internet again?