removing all the XGrabServer() from the logout.c method makes gnome- session work perfectly even with xcompgr. -- gnome-session logout hang with a composite manager https://launchpad.net/bugs/59244