View Issue Details

IDProjectCategoryView StatusLast Update
0002138Kali LinuxGeneral Bugpublic2020-12-01 10:48
Reporterrhertzog Assigned Torhertzog  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versionkali-dev 
Summary0002138: gnome-terminal does not start in a kali-rolling live-image
Description

Starting it from another working terminal (xterm) yields an error:

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 8

Various researches tend to incriminate this problem to the setup of locales. gnome-terminal seems to require a UTF-8 locale.

Activities

rhertzog

rhertzog

2015-02-26 16:06

administrator   ~0003112

The problem is that gdm starts the graphical session with LANG=C instead of LANG=en_US.UTF-8 (which is the system wide default). It's possibly yet another bad consequence of the fact that gdm relies on AccountService to retrieve user related parameters such as the user's locale and the user's default session.

I noticed that gdm-session-worker has the correct LANG in his environment so it's something else downstream that resets the variable...

rhertzog

rhertzog

2015-02-26 17:04

administrator   ~0003113

Here's a possible work-around that could be acceptable... use kali-defaults to hook into /etc/X11/Xsession.d/52_fix_lang and detect when we have LANG=C to force replace it with the system wide setting set in /etc/default/locale.

if [ "$LANG" = "C" ] && [ -e /etc/default/locale ]; then
. /etc/default/locale
fi

rhertzog

rhertzog

2015-02-26 17:15

administrator   ~0003114

Work around added to kali-defaults_2.0~2.dsc.

rhertzog

rhertzog

2015-02-27 09:05

administrator   ~0003117

The work-around will be enough until we have a proper fix upstream. I just filed this: https://bugzilla.gnome.org/show_bug.cgi?id=745286

Issue History

Date Modified Username Field Change
2015-02-26 15:28 rhertzog New Issue
2015-02-26 15:40 rhertzog Assigned To => sbrun
2015-02-26 15:40 rhertzog Status new => assigned
2015-02-26 16:06 rhertzog Note Added: 0003112
2015-02-26 17:04 rhertzog Note Added: 0003113
2015-02-26 17:15 rhertzog Note Added: 0003114
2015-02-26 17:49 rhertzog Assigned To sbrun => rhertzog
2015-02-27 09:05 rhertzog Note Added: 0003117
2015-02-27 09:05 rhertzog Status assigned => resolved
2015-02-27 09:05 rhertzog Resolution open => fixed
2015-11-09 13:44 Mr.Joe Issue cloned: 0002824
2020-12-01 10:48 g0tmi1k Priority high => normal