Der Versuch, das Gnome-Terminal im Docker-Container auszuführen, führt zu folgendem Fehler
# 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)
Installieren Sie dbus-x11, um das Problem zu lösen
sudo apt-get install -y dbus-x11
Wenn Sie kein Gnome-Terminal haben, können Sie es wie folgt installieren
sudo apt-get install -y gnome-terminal
simple interprocess messaging system (X11 deps)
Recommended Posts