I'm new to this ubuntu 13.04 so in terminal i allways need to start my xampp as a root so please help me i wanna convert my current account as an administrator(root) user.
First things first. You should not work and run your desktop as root. Full stop. It is a bad, bad idea. Especially if you want to run a web server. Forget about it. It is easy enough to do it: set a root password (
To start a web server (and xampp is just a bundle containing a web server, sql server and a few other things that you could have installed on your machine easily with your package manager), you need root privileges for a brief moment only. This is why you use
If you are tired of typing in commands, create a desktop shortcut as described in the link above. If you are tired of typing in the password, edit your sudoers file. Type
And at the end of that file, add the following line:
(assuming that you start lampp as above and that humanth is your user name).
Furthermore, did you even read the Linux XAMPP HOWTO? It shows very clearly how to set up XAMPP as a service, so that you do not need to start it manually. In esssence, you just link the