Shutdown taking a lot of time

Solution 1:

I recently started having this. It was caused by Tomboy, the note taking program. For some reason it causes the shutdown to become very slow (I see the desktop for 10 or 15 seconds before it really shuts down).

I now no longer let Tomboy start at login and the problem is gone.

added - This is a known bug: Bug #880290 Tomboy causing delay on logout or shutdown

Solution 2:

it is not a proper answer but could be a kind of workout . 1)never keep a cd/dvd in optical drive . 2)if you use wifi , disable it before shutdown . 3)close all programs and network connections , before shutdown.