ubuntu: starting program with sudo on boot

Posted by The.Anti.9 on Server Fault See other posts from Server Fault or by The.Anti.9
Published on 2010-05-10T03:42:39Z Indexed on 2010/05/10 3:49 UTC
Read the original article Hit count: 213

Filed under:
|
|

I am trying to start xampp when the ubuntu starts on ubuntu 9.10. I tried going to system->preferences->startup applications adding it there, but it didn't work. I surmised it was because it needs to be started as root. I know you can make a startup script some how, but I'm not sure how to do it. How can I make it start xampp when the computer boots, even without logging in?

FYI, the command for starting it is sudo /opt/lampp/lampp start

© Server Fault or respective owner

Related posts about ubuntu-9.10

Related posts about startup