to disable compiz window manager and revert back to metacity, especially when in vnc, type in a terminal:

DISPLAY=:0 metacityreplace&

Alternatively, someone might prefer the graphical tool: Compiz fusion Icon