[Bug 195394] x11/gnome-terminal fails to start

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 14 17:35:05 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195394

--- Comment #20 from John Hein <z7dr6ut7gs at 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=en_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.  Okay,
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 environment,
LANG is not set to anything.  Setting lang in /etc/login.conf to a UTF-8 locale
(I only tested en_US.UTF-8 & de_DE.UTF-8) fixes it.  I did test with slim and
'lang=C' in login.conf, and that also made gnome-terminal fail the same way
(exited with status 8).

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


More information about the freebsd-gnome mailing list