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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs