To disable error reporting on Ubuntu, run the following command to open the apport
configuration file.
sudo nano /etc/default/apport
You will see a line enabled=1
. To disable error reporting, change the value of enabled from 1 to 0.
Press CTRL+O
to save the file. CTRL+X
to exit out of the file. And you are done! You won’t see error pop up any more!
sudo systemctl disable apport
Or completely remove apport program from your system.
sudo apt purge apport
Enable Apport Error Reporting
If for any reason you want to enable the reporting service, run:
sudo apt install apport
sudo systemctl start apport
And then make sure the value of enabled
is set to 1
in /etc/default/apport
configuration file.
Check Error Reports Sent from Your Desktop Ubuntu System
Go to System Settings
> security & Privacy > Diagnostics
.Click Show Previous Reports
.
Check Error Reports Sent from Your Ubuntu System – Directory path
/var/crash