Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2018 17:35:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 195394] x11/gnome-terminal fails to start
Message-ID:  <bug-195394-6497-P2U9wfRSTs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195394-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195394-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195394

--- Comment #20 from John Hein <z7dr6ut7gs@snkmail.com> ---
(In reply to Ting-Wei Lan from comment #19)

No, the slim display manager was started without LANG set to anything (even=
 if
you select gnome as the session environment).  Adding lang=3Den_US.UTF-8 to
/etc/login.conf seems to do the trick.

Thanks for finding that.  That has to be the worst error message ever.  Oka=
y,
probably not _the_ worst.

So if you use gdm as your display manager + gnome session environment, it
appears to inject a UTF-8 locale for dbus's environment somehow (presumably=
 if
you don't have one set for the system).

But if you use slim for a display manager and mate for the desktop environm=
ent,
LANG is not set to anything.  Setting lang in /etc/login.conf to a UTF-8 lo=
cale
(I only tested en_US.UTF-8 & de_DE.UTF-8) fixes it.  I did test with slim a=
nd
'lang=3DC' in login.conf, and that also made gnome-terminal fail the same w=
ay
(exited with status 8).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195394-6497-P2U9wfRSTs>