Disable / enable automatic error reporting in Ubuntu

Error message in Ubuntu

We already know that in Ubuntu, starting with version 12.04, the Report Error Reporting service is enabled by default at startup, displaying error messages from time to time when something has happened in the distribution. These errors can be helpful for us to know if something is happening in our distribution, but other users might find them annoying and not want to see them. We have a solution for both groups with this simple tutorial…

Pop-up windows not only inform users about the problem that has occurred, but they also serve as a way to report the issue to the developers so they can obtain relevant information about what happened and debug the system. Not everyone reports the error; in fact, given the large number of Ubuntu users, reporting it might not be very helpful, as many other users have likely already reported it and are working on it.

In most cases, this doesn't mean the Canonical system is critically damaged or won't work; these are simply informational messages, and the system continues to function properly. Furthermore, if you want to reduce the number of these messages, I advise you to keep your system updated. This doesn't guarantee they won't appear, but at least those bugs that have been fixed with patches won't bother you again.

Okay, whether you want to enable it because you disabled it in the past and don't remember how to turn it back on, or if you want to say goodbye to it and prevent these messages from appearing again, you can manipulate Appport Error Reporting from the terminal :

To enable it :

sudo service apport start

To disable it :

sudo service apport stop

Remember that you can also do this with systemd's `systemctl` command. If you want it disabled at startup , meaning it won't be active again when you restart:

sudo nano /etc/default/apport

And once we have the file open with the editor, we change the line "enabled = 1" to "enabled = 0". And it will be permanent once we save the changes with Control + X and Y.


Add as preferred source in Google