Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I reboot the system, sometimes I get the warning messages saying System problem detected. When this happens, except this apport message, entire screen goes blank and after some time, session starts as usual.

Weird part is that this happens randomly and not during every reboot. Below is /etc/rc.local

#!/bin/sh -e
# rc.local
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
# In order to enable or disable this script just change the execution
# bits.
# By default this script does nothing.
sleep 10
rfkill block bluetooth
sudo mount /dev/sda2 /media/nitish
exit 0

thunderbird when executed through terminal gives these errors

(process:2462): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'   failed

(thunderbird:2462): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

(thunderbird:2462): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised

(thunderbird:2462): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

(thunderbird:2462): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
[calBackendLoader] Using libical backend at /usr/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/libical.manifest

and then starts normally.

Does this cause any problem? Even then, why does this problem not occur every time I reboot?

share|improve this question
up vote 2 down vote accepted

I have to say that you are doing things the wrong way:

  1. thunderbird&:

    Those warnings are not random. What you are doing here is executing Thunderbird as root... you shouldn't! If you need to start a program when your system boots up, specially if they use GUI's, you should add them to the startup application list instead. Runing any application connected to the internet is extremally dangerous and Thunderbird could have vulnerabilities that would left an attacker several vectors of attack. Remove that line!

  2. sudo mount /dev/sda2 /media/nitish:

    Why not to use the /etc/fstab file? You only need to add a line in the fstab file and it will get mounted at boot, without complications.

  3. rfkill block bluetooth:

    I believe that adding the bluetooth modules to the modules blacklist is more preferable, and you can add it again easily.

    sudo sh -c "echo 'blacklist bluetooth' >> /etc/modprobe.d/blacklist-bluetooth.conf"

    Of course, the module name can be anything. Check lsmod to be sure.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.