How to load graphical display manager when booting?

12,301

Answer edited out from the question:

I found a partial fix and just in case anyone else is having the same problem which is extremely annoying.

It turned out to be an issue with Lightdm. Anyway to fix this, I removed lightdm and went back to using GDM which is GNOME display manager. It's extremely ugly but at least it lets you boot.

In order to do that you should follow these steps:

  1. When in the black ugly screen hold down Ctrl + Alt + F1. If nothing happens hold F2 instead.

  2. Enter your credentials

  3. sudo vi /etc/X11/default-display-manager

  4. Change it to /usr/sbin/gdm

    (If you're not familiar with vi: edit, then save by entering : then wq! )

  5. sudo reboot


My answer to the question:

When the loading stops with the 'ugly black screen', enter one of the ttys (for example Ctrl + Alt + F1) and login into your system.

Then enter sudo service lightdm restart

If it says unrecognized service, try the command sudo apt-get install lightdm

This should ensure that Lightdm is properly installed.

Share:
12,301

Related videos on Youtube

Ramzi Njeim
Author by

Ramzi Njeim

Updated on September 18, 2022

Comments

  • Ramzi Njeim
    Ramzi Njeim over 1 year

    The thing is my Ubuntu 11.10 does not boot properly, each time I try to boot, the Ubuntu logo appears for a brief time, a very small loading happens, then a black screen appears with things like the following:

    * Stopping anac(h)ronistic cron              [OK]
    * Starting anac(h)ronistic cron              [OK]
    * Stopping cold plug devices                 [OK]
    * Stopping log initial device creation       [OK]
    

    I've noticed that the lines I get vary, sometimes I also have additional lines like:

    * Starting the Windbind daeomon winbind      [OK]
    * PulseAudio configured for per-user sessions sand disabled; edit /etc/default/saned   [OK]
    * Starting CUPS printing spooler/server      [OK]
    

    Things i did: I installed some packages using synaptic, packages that allow me to install .tar.gz, the installation went good, but when i restarted my computer I was unable to boot i don't know if this has anything to do with my problem

    Fixes i tried: I tried to update then upgrade, still same problem. I tried to boot from Live USB and ran dpkg fix and the other one for the boot file, still same problem

    Recovery mode gives me the same problem

    Any help please?

    • Sanam Patel
      Sanam Patel over 12 years
      I get this too, but it's intermittent. Maybe 1 in 10 boots.
    • david6
      david6 over 12 years
      Edited title, added: (lightdm issue)
    • david6
      david6 over 12 years
      What is your exact graphics chip? Please add output from: lspci
  • Ramzi Njeim
    Ramzi Njeim over 12 years
    I retried the process several times and had the same result, i don't think it's a compatibility problem, since it was working fine until i thought of changing the background of the logon screen. Form that point on Unity greeter stopped working.