In an attempt to free up disk space as I was 100% full and could not write to the disk anymore I ran
Sudo rm -rf /tmp
Seems like that was a rather stupid thing to do as I cannot login into my machine via the GUI. I can log in though when pressing Ctrl, alt and f1 and access everything via the command line.
How do I go about fixing this?