Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

The initial login on my Ubuntu 12.04 machine can take anywhere from 45 seconds to two minutes. If I log out, then log back in again, the login time takes between 4 and 7 seconds.

How can I find out what it making that initial login take so long?

  • I'm using LightDM.
  • I consider login to be the time from hitting Enter in the LightDM password prompt to the UI appearing in my X session.
  • The delay occurs regardless of window manager (I'm using Unity, but the initial Gnome 2 login takes just as long)

EDIT Here's the output of bootchart: Full boothchart output

Here's a close-up of the interesting bits: enter image description here

share|improve this question
Start here: and include the image when you are done ;) – Rinzwind Nov 5 '12 at 9:32
@Rinzwind Done. Thanks for the tip. – Erigami Nov 6 '12 at 0:09

Your Answer


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

Browse other questions tagged or ask your own question.