There is an option for GDM to kill the X server when you logout, i was having the same issue but on KDM and with the option it does not hang anymore, you should try adding the following to your gdm.conf:
AlwaysRestartServer=true
i saw this from here, i hope that works for you, have a good day.



Reply With Quote