You might have faced this problem in Ubuntu, this usually happens when you’ve installed compiz. When compiz isn’t able to install in ubuntu, then you will see blank screen after login no icons, no panels. Well I faced this problem. What i did for solution was uninstalled the compiz from attitude via. shell.

Other Solutions are >>

Solution1:

  1. After login Hold down

    Ctrl+Alt+F1.

  2. Login with valid username and password.
  3. when you get to the shell type::

    $: sudo apt-get install ubuntu-desktop

  4. After you are done, return to x-server by

    Alt+F7

    or just restart.

Solution 2:

  1. Sudo su-
  2. cp /etc/X11/xorg.conf /etc/X11/xorg.conf.orig
  3. dpkg-reconfigure -phigh xserver.xorg
  4. exit

Solution 3:

  1. sudo dpkg-reconfigure xserver-xorg