Disable Error Reporting in Ubuntu

In this post we will see how to disable painful Error Reporting Messages.

Ubuntu/Linux doesn’t have BSOD, but has Error Reporting messages:

Screenshot from 2017-04-20 23-23-15Screenshot from 2017-04-22 09-17-27

The error message are generated by apport application.

There are three ways to stop those error reporting messages.

Way 1: Edit apport Configuration file

Open Terminal (CTRL + ALT + T) and run the following commend:

sudo gedit /etc/default/apport

You will see a line “enabled=1“, changed it to “enabled=0” to disable Error Reporting. Save and close GEdit.

Way 2: Disable apport service

The apport service is responsible for generating error messages. So you can disable the apport service using the following commend in Terminal:

sudo systemctl disable apport

Way 3: Remove the apport

You can also remove the apport from system if you want using below commend in Terminal:

sudo apt purge apport

Extra

You can delete the crash reports generated by apport, which are located in here:

/var/crash/

Source:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.