I would like lampp to be started when a specific user logs in.
At present, the user opens a terminal and types 'sudo /opt/lampp/lampp start'
The user is asked for the sudo(?) password and then lampp starts ok.
Can somebody please let me know if it is possible for a script to be run to start lampp when that specific user logs in?
Many thanks
help starting lampp at login, please
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
help starting lampp at login, please
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
- Level 4
- Posts: 450
- Joined: Wed Nov 07, 2007 3:34 pm
- Location: Toronto, ON
Re: help starting lampp at login, please
Your the first person I have seen using Linux Mint for a server. Anyway, check out this site for a tutorial: http://alanedwardes.com/posts/installin ... ple-guide/
Hope this helps.
Hope this helps.
Re: help starting lampp at login, please
I'm only using lampp to test and develop a local version of my hosted website.
The link you provided certainly starts lampp but it does it for all users and only at boot-up time. So, if user2 gets on the pc first, he can stop lampp. Then, when user1 logs in, he can't use lampp without doing 'sudo /opt/lampp/lampp start' in terminal.
Ideally, the script I am looking for will only start lampp when user1 logs in.
The link you provided certainly starts lampp but it does it for all users and only at boot-up time. So, if user2 gets on the pc first, he can stop lampp. Then, when user1 logs in, he can't use lampp without doing 'sudo /opt/lampp/lampp start' in terminal.
Ideally, the script I am looking for will only start lampp when user1 logs in.
-
- Level 4
- Posts: 450
- Joined: Wed Nov 07, 2007 3:34 pm
- Location: Toronto, ON
Re: help starting lampp at login, please
Ok. I am sorry that I was not very helpful. I have some experience with LAMP via the Ubuntu server release and also on CentOS, but haven't had multiple users so it was never an issue...Have you checked other similar forums?