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
You have to add
LANG=en_US.UTF-8
to/etc/default/locale
and reboot your system. (Solution from this Arch Linux forum post.)Here is the list of commands which helps me:
As you can see I just reconfigured the
locale
and reinstallgnome-terminal
This is a winner for me:
as learned here
This might be an issue 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.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:Then reboot and the problem was gone.
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.
Another cause of the problem is that new preferences have been activated at the start of the session, check "Applications at startup" Preferences
I had to combine answers from @TomH and @BarryPye. To get a gnome-terminal window:
In my case, the issue was occuring in a VNC session. I fixed it in my
~/.vnc/xstartup
by changing the window manager invocation to:Then gnome-terminal starts directly from command or the gnome graphical launcher, without the need to extra dbus-launch commands.
If anyone hits this error using waypipe, the answer above by BarryPye shows the way.
e.g.
waypipe --compress lz4 ssh user@host "/usr/bin/dbus-launch /usr/bin/gnome-terminal &"
I was at work today and desperate to get things moving. I found this