Moved grub default to end and added /etc/pam.d/xapi

http://ubuntuforums.org/archive/index.php/t-2158441.html