14

I have Ubuntu-Gnome 14.04 (Gnome 3.12.2).

When I try to run gnome-terminal by following command :

$ gnome-terminal
Error constructing proxy for org.gnome.Terminal: /org/gnome/Terminal/Factory0: 
Error calling StartServiceByName for org.gnome.Terminal:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: 
Process /usr/lib/gnome-terminal/gnome-terminal-server exited with status 8
14

You have to add LANG=en_US.UTF-8 to /etc/default/locale and reboot your system. (Solution from this Arch Linux forum post.)

  • 10
    This didn't work for me. – Cerin Feb 3 '17 at 15:03
  • Worked for me! It looks like I had LANG=en_US.UTF-8 in my file, but it was commented out. Uncommented it and rebooted, then gnome-terminal started right up. – Malachi Bazar Sep 13 '18 at 16:51
  • 4y since this answer. and the user feedback when this is hit is still the same. – hbogert Feb 25 at 8:40
9

Here is the list of commands which helps me:

sudo apt install dconf-cli
dconf reset -f /org/gnome/terminal
sudo apt-get remove gnome-terminal
sudo apt-get install gnome-terminal
sudo locale-gen --purge
sudo dpkg-reconfigure locales
reboot

As you can see I just reinstall gnome-terminal

1

You probably messed around with your locales. Either add LANG=en_US.UTF-8 to /etc/locale.conf and reboot or delete that file altogether (sudo rm /etc/locale.conf && sudo locale-gen en_US.UTF-8 && sudo dpkg-reconfigure locales) and reboot.

1

I had this problem when I created a new Ubuntu 16.04.3 LTS Desktop. The fix was to edit the /etc/default/locale file by adding the following line to the end of the file:

LC_ALL="en_US.UTF-8"

Then reboot and the problem was gone.

0

Execute sudo dpkg-reconfigure locales in an alternative terminal emulator and select en_US.UTF-8 UTF-8 , choose it as the default locale. gnome-terminal should work.

0

Another cause of the problem is that new preferences have been activated at the start of the session, check "Applications at startup" Preferences

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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