3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Dockerコンテナ内でgnome-terminalの実行を試みるもエラー(Failed to execute child process “dbus-launch” (No such file or directory))

Last updated at Posted at 2020-11-14

Dockerコンテナ内でgnome-terminalの実行を試みるも以下の通りエラー

# gnome-terminal -e "python3 test.py"
# Option “-e” is deprecated and might be removed in a later version of gnome-terminal.
# Use “-- ” to terminate the options and put the command line to execute after it.
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Failed to execute child process “dbus-launch” (No such file or directory)

dbus-x11をインストールして解決

sudo apt-get install -y dbus-x11

gnome-terminalがない場合は以下でインストール可能

sudo apt-get install -y gnome-terminal

参考

simple interprocess messaging system (X11 deps)

3
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
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?