After installing libopencv-dev
from the Ubuntu repository, I get a blank screen with cursor after logging into a session (after restarting the computer). I think there were some Nvidia-related packages installed. I don't know if it has anything to do with it. I'm using Ubuntu 13.10 with Intel HD 4000 graphics.
EDIT: Ok the problem was a libopencv-dev
bug that installs Nvidia packages on non Nvidia graphics machines, causing the blank screen problem. To fix this:
sudo apt-get purge nvidia-319*
How to solve this ?