16.03.2017 - Install xubuntu sudo apt-get install xubuntu-desktop. Then i ran the above script with sudo in terminal and caught in login loop problem..