When trying to set up the 3D Cube effect in Ubuntu 8.04 I noticed that the Cube worked but only had two sides (2D Square)!
I discovered that because as a default there are only two workspaces in Ubuntu, hence there are only two sides of the ‘cube’.
To increase the number of workspaces (to 4):
Right Click on Workspaces (bottom-right corner of screen) –> Preferences –> Increase Columns to 4
Now try rotating the Cube again (Ctrl + Alt + Left/Right)