Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer 1

This may worK:

sudo dpkg-reconfigure lightdm (you said that you can log on.)

Then choose "Ok", and select a display manager from a list. That can be lightdm, gdm, ... (if you have installed it, for example, by sudo apt-get install gdm)

share|improve this answer
    
And since you can log in, it is likely that you don't have to run boot-repair, and I don't think it is easy to launch the program from that terminal. –  Huynh Oct 7 '12 at 3:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.