Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just installed GNOME3 following the steps from another question

sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install gnome-shell

then installed lightdm, tried starting it and got a blank screen, what did I do wrong?

sudo apt-get install lightdm
sudo lightdm

then blank screen (is this normal?) ... restarted (using power button, is this blank screen normal?), selected Ubuntu GNOME Shell Desktop got "Failed to load sesson Gnome" tried Ubuntu and got "Failed to load session ubuntu" ...

This is a fresh install of Ubuntu 11.04 Server on Virtual Box.

share|improve this question
up vote 3 down vote accepted

This may not work for Installlation and you May Receive a Black Screen. Please Feel Comfortable with using the Recover Console and other methods before attempting to install,

How to install

Source is in Launchpad (bzr clone lp:lightdm) and tarball releases. If you are using Ubuntu (Lucid or Maverick) you can install it from a PPA:

 sudo add-apt-repository ppa:robert-ancell/lightdm
 sudo apt-get update
 sudo apt-get install lightdm lightdm-theme-webkit lightdm-theme-gnome

You can test lightdm by running it in a window:

 sudo apt-get install xserver-xephyr

Create the file lightdm.conf:

  lightdm –test-mode -c lightdm.conf


Install LightDM on Ubuntu

share|improve this answer
Where do I find/create lightdm.conf? – JM at Work May 19 '11 at 8:39
/etc/init/lightdm.conf – Uri Herrera May 19 '11 at 8:40
thanks, I also noticed the PPA I used is different ppa:lightdm-team/ppa from which should I use? I am on natty 11.04 – JM at Work May 19 '11 at 8:46
Hi again, sry but, the file has contents in it already, do I just append to it? ... I am still getting the same errors also I seem to be getting the default theme? not the one above in your answer – JM at Work May 19 '11 at 9:07
though honestly seems to be very unstable right now, i would use SLIM instead seems to be easier to get it to work – Uri Herrera May 19 '11 at 9:18

after installing I tried

sudo dpkg-reconfigure gdm

selected lightdm, rebooted and it is now working.

Yes, it did show blank black screen while i was trying

sudo stop gdm
sudo start lightdm

sudo lightdm
share|improve this answer

Your Answer


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.