I installed Ubuntu 13.10 one week ago and I've recently found out, that logout doesn't work in unity. I made some investigations and found out, that:

1. logout works in gnome-shell
2. when I press logout button, screen always freezes, sometimes dash and statusbar disappear, keyboard works, but with delay, even when I try to switch from GUI to terminal via ctrl+alt+f5
3. after couple minutes have passed os works in normal way.

I'll be glad about any help and hints for solution of this problem.