I also had this problem, using xfce 4.6 with compiz as my window manager. I disabled the "Session Management" compiz plugin, and the problem stopped come back after this.
I also had this problem, using xfce 4.6 with compiz as my window manager. I disabled the "Session Management" compiz plugin, and the problem stopped come back after this.