Ubuntu frozen on boot screen; boot repair fails due to X11 and gtk

Posted by anandsun on Ask Ubuntu See other posts from Ask Ubuntu or by anandsun
Published on 2012-10-07T00:28:12Z Indexed on 2012/10/07 3:52 UTC
Read the original article Hit count: 211

Filed under:
|
|

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.

© Ask Ubuntu or respective owner

Related posts about boot

Related posts about gtk