Ubuntu 12.04 freezes on purple boot screen after update; boot repair fails to initialize X11 and Gtk

Asked by Anand Sundaram

I have a year-old HP Pavilion dv6 with Intel i7 processors and graphics card. I had Windows 7 but last week I dual booted Ubuntu. It was working fine until today. I did the following things:
Updated Gnome and installed Gnome tweak tool
Uninstalled Chromium browser
Uninstalled Google Chrome
moved jdk and jre folders from ~/ to /bin using sudo
moved Adobe folder from ~/ to /bin using sudo
Then I restarted. Ubuntu froze for half an hour on the purple boot screen. Something I did must have broken it. So, I hit Ctrl + Alt + F1 and managed to log in through the command line. From there, I ran sudo apt-get update and sudo apt-get upgrade. I also updated grub. I also installed boot-repair. However, I cannot run boot-repair, because I keep getting the following errors:
Autolaunch error: X11 initialization failed
RuntimeError: Gtk couldn't be initialized.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu unity Edit question
Assignee:
No assignee Edit question
Solved by:
Anand Sundaram
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you make a new user and log in as that, is it ok?

Revision history for this message
Anand Sundaram (anchorflow) said :
#2

I fixed this by copying all my files from the command line into my Windows partition, and uninstalling Ubuntu and reinstalling Ubuntu using wubi. This was a pain. I think the problem happened because I uninstalled epiphany from within Ubuntu, which caused gnome-core to be uninstalled as well.