Which Ubuntu release and desktop are you using? (Pretty please file bugs with "apport-bug", it makes things a lot easier). You mention the Lubuntu FAQ, but also a compiz crash. Lubuntu doesn't use compiz.
ubuntu-settings-daemon and gnome-settings-daemon have proper logind integration (they set logind's inhibitors for handling the lid switch); that bit might be missing in LXDE.
Which Ubuntu release and desktop are you using? (Pretty please file bugs with "apport-bug", it makes things a lot easier). You mention the Lubuntu FAQ, but also a compiz crash. Lubuntu doesn't use compiz.
ubuntu- settings- daemon and gnome-settings- daemon have proper logind integration (they set logind's inhibitors for handling the lid switch); that bit might be missing in LXDE.