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.

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
1  
Start here: bootchart.org 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
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.