I recently installed the portable version of xampp and needed to start it when Ubuntu starts, to accomplish this I had to
cd /etc/rc2.d and typed the following commands
ln -s /opt/lampp/lampp S99lampp ln -s /opt/lampp/lampp K01lampp
restart server and verify that xampp admin page is accessible.