Fix Unity Freezes After Login In Ubuntu 14.04 [Quick Tip]

If you upgraded Ubuntu 13.10 to Ubuntu 14.04, you might end up with Unity freezing at login time. You boot in to Ubuntu 14.04, enter your credential and the system just hangs up, freezes.Β If you are lucky, you might see mouse cursor, background wallpaper but nothing else. No Unity launcher, no top panel etc. Basically you will have Ubuntu in an unusable state.

This problem of missing Unity launcher, panel and system freeze can be solved by re-installing Unity. Let’s see how to do that:

Reinstall Unity in Ubuntu 14.04 to fix system freeze issue

Well, since you are stuck with a frozen system, use Ctrl+Alt+F2 key. This will take you to command line interface (instead of the default graphical user interface). You will be asked to enter your credentials. After you enter your username and password, use the following commands one by one to reinstall Unity desktop.

sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
sudo shutdown -r now

The last command will reboot your system. After the reboot, you should have Unity working as normal.

Fixing Unity freeze issue with Nvidia graphics:

I don’t have experience with Nvidia graphics but I found some people mentioning additional steps for system with Nvidia graphics card. While the above trick worked for my system, I cannot verify the one below. People with Nvidia graphics, please confirm that the steps below work for your system:

Press Ctrl+Alt+F2 to use command line. And after entering username and password, use the following commands one by one:

sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
sudo apt-get remove --purge nvidia*
sudo shutdown -r now

Once you have Unity back to normal at next reboot, just reinstall the Nvidia drivers (you had just removed them).

I hope these quick tips help you to recover your Ubuntu 14.04 from a frozen Unity to a working Unity. Any questions or suggestions are always welcomed.

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries πŸ•΅οΈβ€β™‚οΈ

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.