Skip to content

Instantly share code, notes, and snippets.

@CreatorB
Last active August 29, 2015 14:14
Show Gist options
  • Save CreatorB/0c5b4cc0348b3e0f8da0 to your computer and use it in GitHub Desktop.
Save CreatorB/0c5b4cc0348b3e0f8da0 to your computer and use it in GitHub Desktop.
How to Fix Desktop Blank Freeze Frozen Ubuntu 14.04 Trusty Tahr [Solved]
#sunday morning my friend get error about desktop ubuntu 14.04 Freeze, i have to try some many my DE trick's but no effect :/
#and Then i'm surfing and get another good review about that same case on his blog's, thank's zhang.
#and now maybe you need it, hope it can help you...
What’s the problem?
After boot into Ubuntu 14.04, you enter your credential and the system just hangs up, freezes. If you are lucky, you might see mouse cursor, background wallpaper but nothing else.
Solutions may work
Sincere you are in the frozen system, you can use Alt+Ctrl+F2 to get into command line interface. Then type your username and password to login. Or you can reboot your system and enter the Ubuntu recovery model then choose “root Drop to root shell prompt“. After you get into command line interface, you may like to try the following solutions.
1. Re-install Unity in Ubuntu 14.04
Try the following commands one by one to re-install Unity desktop.
$ sudo su
$ apt-get update
$ apt-get install --reinstall ubuntu-desktop
$ apt-get install unity
$ reboot
2. Re-install Graphics Card Driver in Ubuntu 14.04
If the first try doesn’t work (It happened to me), you may need to re-install NVIDIA Driver. Try the following commands one by one.
$ sudo su
$ apt-get update
$ apt-get install --reinstall ubuntu-desktop
$ apt-get install unity
$ apt-get remove --purge nvidia*
$ reboot
If it doesn’t work for you (It happened to me ToT), you may try the following steps:
$ sudo apt-get install nvidia-current
$ sudo reboot
Hope you can login your Ubuntu now. But if your system hang out after install nvidia-current (Black screen with a blinking cursor) and you have installed CUDA on your machine, you may mass up the different versions of nvidia driver. What you need to do is un-installing the Ubuntu’s nvidia driver and install the driver from NVIDIA website. So get into the command lines interface via Ubuntu Recover Model and try these steps.
First, remove the current Nvidia graphics card driver
$ sudo apt-get remove --purge nvidia-*
Second, download & Install Nvidia Driver 331.38 (you may want new version)
For 32 bit (x86):
$ cd && wget us.download.nvidia.com/XFree86/Linux-x86/331.38/NVIDIA-Linux-x86-331.38.run
For 64 bit (x86_64):
$ cd && wget us.download.nvidia.com/XFree86/Linux-x86_64/331.38/NVIDIA-Linux-x86_64-331.38.run
And then,
$ chmod +x NVIDIA-Linux-*-331.38.run
$ sudo sh NVIDIA-Linux-*-331.38.run
$ sudo reboot
Finally, I got my problem fixed. Hope it will help.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment