Fix for Ubuntu issue trying to install full desktop environment

Based on this bug report: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1401390