Stop applications from auto starting in Ubuntu


If you don’t want an application to auto start in Ubuntu, you can use the instructions in this blog post. There are many ways to go about doing this. It can be performed from the terminal or you can use the BUM GUI (Boot-Up Manager) to remove auto-starting applications.

For example, say, we want to prevent the MySQL server from auto-starting. We need to remove the symlink(s) in /etc/rcX.d directory that cause it to auto start. We can manually go to the directory and delete them. Or we can run this command from the terminal :

[code language=”bash”]sudo update-rc.d -f mysql remove[/code]

You will get a message saying :

[code] Removing any system startup links for /etc/init.d/mysql …[/code]

And any symlinks pertaining to MySQL will be deleted.

Another alternative is to use the Boot-Up Manager GUI. Install it by writing :

[code language=”bash”]sudo apt-get install bum[/code]

After installation, start the application by going to Applications-> System->BootUp-Manager in Xubuntu. (In Ubuntu, the location may be slightly different). Find “Fast and stable SQL database server”, right-click on it and select “Deactivate and apply now”.

You are done and good to go. MySQL server will not auto-start now.