[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.

gnome-terminal

I got the following error while doing so:

root@Work-station:~# 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

Solution

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
root@Work-station:~# 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

Sr. 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 create a job, if you need any administration help. Thanks!!

You may also like...

Leave a Reply

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