Ubuntu关闭系统错误报告

  1. vi /etc/default/apport
    找到 enabled=1 这一行,并改变到0
1
2
3
4
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=0
  1. sudo stop apport