Ubuntu 14.04 desktop not loading after login

24,256

Just press Ctrl+Alt+T to go to a terminal and type:

sudo su
apt-get update
apt-get install --reinstall ubuntu-desktop
apt-get install --reinstall unity
apt-get remove --purge nvidia*
apt-get install nvidia-current
reboot

As that solved for me...

Share:
24,256

Related videos on Youtube

user285672
Author by

user285672

Updated on September 18, 2022

Comments

  • user285672
    user285672 over 1 year

    Turn on the PC, get normally to the login screen. But when I login, the desktop doesn't seem to load. I've waited half an hour but it still didn't load.

    I can get to the root by using the GRUB screen at the startup by pressing shift, but I can't use the "apt-get update" command because of a problem on my ppa repository.

    This problem happened to me a lot already, but I don't remember how to fix it. It was always related to my NVIDIA card, but I have no idea if it's that driver's fault this time.

    @edit Now I'm able to do apt-get update, but it gives some errors like "failed to fetch".

    I tried to do apt-get install --reinstall ubuntu-desktop, but it returns "unable to fetch some archives, maybe run apt-get update or try with --fix-missing?" This actually appears whenever I try to download something.

    Somebody please help me, I'm even thinking about going back to windows... maybe it's not really worth to have limited software on linux if I'm getting so many errors...

    Probably I'm the one to blame.

    • Gremlin
      Gremlin over 9 years
      Are you connected to the internet? Is that the reason why apt-get is failing? Please post the full output of apt-get update.
    • heemayl
      heemayl over 9 years
      We need more info. Please share your entries in the /etc/apt/sources.list. Have you installed something recently? Also post the output of lshw -c display.
    • user285672
      user285672 over 9 years
      I installed a lot of stuff lately, I followed this: code.google.com/p/pysnip/wiki/SetupUbuntu
    • user285672
      user285672 over 9 years
      UPDATE: I got apt-get update and apt-get install to work! What should I do now to get to desktop again?
    • heemayl
      heemayl over 9 years
      AFAIK the getty process starts before the display manager so the console terminals (tty 1 to 6) will be available by then as you can see the login screen. Just press CRTL+ALT+F1 so that you can login to the first text based console. Then you can run the commands and check the log for further issues. If you can please try the command sudo startx, If failed post the output of lshw -c display, cat /var/log/lightdm/lightdm.log and cat /var/log/syslog.