Firefox issue
I have a script that kills and reloads a firefox window every thirty minutes. Recently, it started failing and finally I have had the chance to check why and found this when I tried to fire the script manually.
firefox-bin: no process killed
(firefox-bin:6209): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
OK, so I couldnt find anything specific to this error and firefox and I was in a hurry so I decided to see what would happen if I uninstalled firefox and reinstall it. The following is what I saw when I went to uninstall firefox:
stk@stk-laptop:~$ sudo apt-get remove firefox
[sudo] password for stk:
Sorry, try again.
[sudo] password for stk:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
firefox firefox-gnome-support gnome-user-guide ubufox ubuntu-desktop
ubuntu-docs yelp
0 upgraded, 0 newly installed, 7 to remove and 7 not upgraded.
Need to get 0B of archives.
After unpacking 170MB disk space will be freed.
Do you want to continue [Y/n]? Y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 89481 files and directories currently installed.)
Removing ubuntu-docs ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Removing ubuntu-desktop ...
Removing gnome-user-guide ...
Removing yelp ...
Removing ubufox ...
Removing firefox-gnome-support ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Removing firefox ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
stk@stk-laptop:~$
So, I think I should learn a bit about locale. Yee haw!
Stay tuned for a resolution....