I've got an issue whereby after each reboot the first time I log into my session it takes ages. That is, it can take up to five minutes from the moment I enter my password until I can use the desktop.

I was trying to use bootchart to debug the issue, but while bootchart itself worked, the graphics output are cropped at 105 seconds, so I cannot even see when compiz starts.

Looking at /etc/init/bootchart.conf, it seems the graphic is cropped indeed after compiz start, but it doesn't seem to be my case

bootchart --format=$format \
    --crop-after=compiz,metacity,mutter,kwin,xfwm4 \
    --annotate=ureadahead,mountall,hostname,hwclock \
    --annotate=Xorg \
    --annotate=gdm-session-worker \
    --output="/var/log/bootchart" "$TARBALL"

Here is some example output.

Is there any way I can see a longer time axis on the graph, at least until the desktop is loaded?

  • Have you looked in dmesg or ~/.xsession-errors to see what errors or problems are occurring? – popey Jul 16 '12 at 11:03
  • The documentation does not mention a hard limit of 105 seconds, only that 'The logger will try to detect the end of the boot process by looking for specific processes.' Examples are gdmgreeter or kdm_greet. Are you sure it is possible to get what you want with this program? – Tom Brossman Jul 16 '12 at 11:17
  • I haven't looked at dmesg, but I had a chat with the guys on the #ubuntu-desktop channel to try to debug it, couldn't see anything obvious on ~/.xsession-errors pastebin.ubuntu.com/1094584 – David Planella Jul 16 '12 at 11:18
  • @TomBrossman, I don't know if it's possible, hence the question too. – David Planella Jul 16 '12 at 11:18
  • 2
    Looks like bootchart2 supports customizing the exit condition. – ændrük Aug 24 '13 at 23:29

Please use pybootchartgui (available in Software Centre). It'd create a graphical log after each boot. Checking dmesg output would be equally good, but less 'visual'.

Please disable from Startup Application whatever you don't need, and make sure that the HDD is the 1st boot device in the BIOS.


The bootchart displays how much time a service takes while the system boots up

Zoom in the existing image That's what I do

Images are stored in /var/log/bootchart folder


Check /var/log/messages after you booted? It has a log with the times from during the boot sequence.

You might try running bootchart.

Check out this question also How can I see what happens during the boot process?

an alternative application to bootchart called pybootchartgui available in Ubuntu Software Center.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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