After trying to repair the touch-pad of my Ubuntu 12.04, the system cannot boot from X Window. It turns out that xserver-xorg
is accidentally removed by sudo apt-get autoremove
process after I installed xserver-xorg-input-synaptics
. To repair it, just go to the recovery mode and
sudo apt-get install xserver-xorg
sudo dpkg-reconfigure xserver-xorg