Tuesday, 22 March 2016

Gnome-Terminal BSD Error (Solved)

Gnome-terminal installation
#pkg install gnome-terminal
once done
#gnome-terminal
and received this 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

First start the terimal using 

LANG=en_US.UTF-8 /usr/local/libexec/gnome-terminal-server &

This starts a background Gnome Terminal server process.

Once this is running, start a terminal using
gnome-terminal
The terminal starts in the usual way.

for permanent solution add these line to your .login_conf

me:\
        :charset=UTF-8:\
        :lang=en_US.UTF-8:\
        :setenv=LC_COLLATE=C:

save and reboot or reload with this command
cap_mkdb /etc/login.conf
Verify that the new settings took effect by running locale(1).

See also

As an alternative to gnome-terminal, "roxterm" works moderately well. It can be installed using pkg install roxterm. However there are a fair number of bugs. In particular the inability to copy and paste from non-ASCII text on the terminal window makes it a poor choice for people regularly using international text.

No comments:

Post a Comment