Ubuntu Black Screen over VNC

Trying to share your desktop with Ubuntu and when you connect to it a black screen is shown but you can see control taken over it?

Disable visual effects in System-> Preferences-> Appearance-> Visual Effects-> None

Easy.