Please help I cannot logout successfully to change user or session. It gets to
*Checking battery state
and stays there for a long time until it goes to a black screen and eventually it says:
* Reloading system log daemon...
This problem is due to using the kdm display manager as default. It hangs the system when trying to log out. to solve it, partially, run
$ sudo dpkg-reconfigure kdm
and choose gdm as the default manager.