Question: what to do when linux ubuntu freezes?
Answer: You could try Ctrl+Alt+T , if that does not work, type Alt+F2 and then type in gnome-terminal and press enter. Sometimes, it won't work either. If that's the case, you need to type Ctrl+Alt+F1 to get into the tty.