Howto Fix login delay after upgrade to Lucid Lynx
My Linux Box is Ubuntu LTS 8.04.4 minimal install with LXDE/Openbox as Window Manager. But after upgrading to Ubuntu Lucid Lynx, I noticed that it took an extra 15 – 20 seconds for it to finish logging me in after I entered my password. This was particularly noticeable to me because I use LXDE/Openbox as my window manager, and normally starts up in less than one second on my hardware.
If you’re experiencing this problem, there’s a very easy fix:
sudo mv /usr/bin/xsplash /usr/bin/xsplash_hidden
This just hides xsplash under a different name so that the login manager can’t find it and run it. I found that it did not cause any problem to have xsplash unavailable. However, the reason I’ve suggested renaming it rather than deleting it is so that if it does cause a problem, you can just rename it back.
For explanation, it turns out that xsplash has a 15-second delay hardcoded into it before the brown splash screen goes away. If you’re using Gnome, apparently Gnome has a mechanism to let xsplash know when it’s done loading, so the brown xsplash screen will go away in less than 15 seconds. But if you’re using a window manager other than Gnome that doesn’t support this mechanism, the brown screen will stay there for the full 15 seconds, while you wait for it.