I have a Zenbook UX303U with integrated Intel HD5000, and using an external monitor worked fine until I updated to Ubuntu 16.04LTS this weekend. Now, when I plug my second screen and then move the mouse cursor to the laptop's screen, the computer freezes: the mouse, touchpad and keyboard become unresponsive, I'm unable to access a terminal with Ctrl + Alt + F1 - 6 shortcut, and any open ssh connections to my laptop are lost. All I can do is hard reboot the computer.
Has anyone else experienced similar problems and figured out a solution?