LoginSignup
0
0

More than 3 years have passed since last update.

Docker環境にてコマンドラインからgnome-terminal起動時にエラーが出て起動しない

Posted at

Docker環境にてコマンドラインからgnome-terminal起動時にエラーが出て起動しない

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

Docker環境でのlocaleの設定が足りなかった。
以下の通りDockerfileにlocaleを設定する記述を追加して解決

Dockerfile
RUN locale-gen ja_JP.UTF-8
ENV LANG ja_JP.UTF-8
ENV LANGUAGE ja_JP:jp
ENV LC_ALL ja_JP.UTF-8

#参考
Docker: コンテナのlocaleを設定したいhttps://wiki.gnome.org/Apps/Terminal/FAQ
https://askubuntu.com/questions/608330/problem-with-gnome-terminal-on-gnome-3-12-2

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0