Ubuntu frozen on boot screen; boot repair fails due to X11 and gtk
- by anandsun
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.