View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002138||Kali Linux||General Bug||public||2015-02-26 15:28||2020-12-01 10:48|
|Priority||normal||Severity||major||Reproducibility||have not tried|
|Summary||0002138: gnome-terminal does not start in a kali-rolling live-image|
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.
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...
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
Work around added to kali-defaults_2.0~2.dsc.
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
|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|
||Issue cloned: 0002824|
|2020-12-01 10:48||g0tmi1k||Priority||high => normal|