do you have those options from gdm? What does "gdmflexiserver -a -c QUERY_LOGOUT_ACTION" print for you?
do you have those options from gdm? What does "gdmflexiserver -a -c QUERY_LOGOUT_ ACTION" print for you?