Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
269
rated 0 times [  269] [ 0]  / answers: 1 / hits: 204783  / 2 Years ago, sat, january 22, 2022, 4:50:32

The system crash dialog is annoying me, how can I turn it off? I'd also like to know how to turn it back on just in case I need it to report a problem.


More From » apport

 Answers
2

As of Ubuntu 16.04 systemd apport does not seem to honor its config file



The systemd commands to enable / disable apport are:



Disable



sudo systemctl disable apport.service


If that does not work, you would then need to mask the service



systemctl mask apport.service


To reenable



systemctl unmask apport.service # if you masked it
sudo systemctl enable apport.service





Previous versions of Ubuntu:



You need to edit /etc/default/apport. The following changes will prevent Apport from starting at boot:






Graphical:
Open a terminal with (CTRL+ALT+T) and type this:



sudo -i gedit /etc/default/apport


and then push ENTER. You password is being typed, but will not display as dots.



or



Command line:



sudo nano /etc/default/apport





A file editor is now open. Change enabled from "0" to a "1" so it looks like this:



enabled=1    


To turn it off make it:



enabled=0





Now save your changes and close the file editor. Apport will now no longer start at boot. If you want to turn it off immediately without rebooting, run sudo service apport stop.



You can also use sudo service apport stop without modifying /etc/default/apport to turn it off temporarily.



See also:




[#41088] Monday, January 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
termetalli

Total Points: 326
Total Questions: 127
Total Answers: 110

Location: Sao Tome and Principe
Member since Sat, Sep 12, 2020
4 Years ago
;