the patch for LTSP_CLIENT does something similar to the patch for GSM_NO_GRAB_SERVER from this bug, did you try to set that variable?
-- gnome-session logout hang with a composite manager https://launchpad.net/bugs/59244 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs