I've just completed a fresh install of Debian Stretch on a server that had previously been running Jessie, with
gnome-terminal fails to load. Here's
18:29:02 alan dbus-daemon: Activating via systemd: service name='org.gnome.Terminal' nome-terminal-server.service' 18:29:02 alan systemd: Starting GNOME Terminal Server... 18:29:02 alan gnome-terminal-server: Non UTF-8 locale (ANSI_X3.4-1968) is not supported! 18:29:02 alan systemd: gnome-terminal-server.service: Main process exited, code=exited, status=8/ 18:29:02 alan systemd: Failed to start GNOME Terminal Server. 18:29:02 alan systemd: gnome-terminal-server.service: Unit entered failed state. 18:29:02 alan systemd: gnome-terminal-server.service: Failed with result 'exit-code'. 18:29:27 alan org.gnome.Shell.desktop: Error constructing proxy for org.gnome.Terminal:/org/ erminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached 18:29:46 alan firefox-esr.desktop: Promise resolved while context is inactive 18:29:47 alan firefox-esr.desktop: Promise rejected after context unloaded: Message manager ected 18:31:02 alan dbus-daemon: Failed to activate service 'org.gnome.Terminal': timed out
I assumed that the non-UTF locale was the problem, and tried the following fixes based on googling:
/etc/environment to contain
and rebooted. Locale now returns
root@alan:/etc# locale LANG=en_GB.UTF-8 LANGUAGE= LC_CTYPE=en_GB.UTF-8 LC_NUMERIC="en_GB.UTF-8" LC_TIME="en_GB.UTF-8" LC_COLLATE="en_GB.UTF-8" LC_MONETARY="en_GB.UTF-8" LC_MESSAGES="en_GB.UTF-8" LC_PAPER="en_GB.UTF-8" LC_NAME="en_GB.UTF-8" LC_ADDRESS="en_GB.UTF-8" LC_TELEPHONE="en_GB.UTF-8" LC_MEASUREMENT="en_GB.UTF-8" LC_IDENTIFICATION="en_GB.UTF-8" LC_ALL=
gnome-terminal still won't load.
Is this really a locale problem? Where would
gnome-terminal be getting its locale from? What else could cause this?