How to Automatically Start XAMPP for a Standard User in Ubuntu

In Ubuntu, XAMPP will not auto start on boot or reboot in usual Installation. We should manually enter the command to start the XAMPP as SUDO user.


But in the case of a standard user in Ubuntu, he cannot use the sudo command as he doesn’t have the admin privilege. In many cases like computer labs where students should not be provided with the admin privilege have to use XAMPP server for their academic needs.

The solution is as given below. Once you do this solution as a privileged user, XAMPP starts automatically while booting into your system (even if you are using unprivileged standard user).

Continue reading