[Solved] Terminal not opening – Ubuntu

I was facing this problem on my PC yesterday. I had to use Xterm instead of Gnome Terminal. I searched a lot on Internet and finally got a solution.

Error details are pasted below:

Unable to access the Terminal session.

Accessed Xterm and executed the following command to access the Gnome Terminal manually.


I got the following error while doing so:

[email protected]:~# gnome-terminal

(process:2689): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

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 org.gnome.Terminal exited with status 9


I tried to update the Gnome Terminal. However, that didn’t work. Finally I had to purge “locale-gen” on the system to fix the problem with Gnome Terminal.

Executed the following command:

locale-gen --purge
[email protected]:~# locale-gen --purge
Generating locales (this might take a while)...
  en_AG.UTF-8... done
  en_AU.UTF-8... done
  en_BW.UTF-8... done
  en_CA.UTF-8... done
  en_DK.UTF-8... done
  en_GB.UTF-8... done
  en_HK.UTF-8... done
  en_IE.UTF-8... done
  en_IN.UTF-8... done
  en_NG.UTF-8... done
  en_NZ.UTF-8... done
  en_PH.UTF-8... done
  en_SG.UTF-8... done
  en_US.UTF-8... done
  en_ZA.UTF-8... done
  en_ZM.UTF-8... done
  en_ZW.UTF-8... done
Generation complete.

Yup, try to access the Gnome Terminal now!
Let me know if you have any questions.

Arunlal Ashok

Linux Server Administrator. I'm managing Linux servers since 2012. I started this blog to share and discuss my ideas. Check My Profile!! in uPwork (oDesk) and let me know if you need any assistance. Thanks!!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *