gnome-terminal 不工作(ubuntu 18.04)

gnome-terminal 不工作(ubuntu 18.04)
tail -f /var/log/syslog

Jul  3 01:04:56 arik-precision org.gnome.Shell.desktop[1543]: (/usr/lib/firefox/firefox:3073): dconf-WARNING **: 01:04:56.600: Unable to open /var/lib/snapd/desktop/dconf/profile/user: Permission denied
Jul  3 01:07:02 arik-precision dbus-daemon[1417]: [session uid=1000 pid=1417] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.106' (uid=1000 pid=3285 comm="/usr/bin/gnome-terminal.real " label="unconfined")
Jul  3 01:07:02 arik-precision systemd[1376]: Starting GNOME Terminal Server...
Jul  3 01:07:02 arik-precision gnome-terminal-server[3288]: Locale not supported.
Jul  3 01:07:02 arik-precision systemd[1376]: gnome-terminal-server.service: Main process exited, code=exited, status=9/n/a
Jul  3 01:07:02 arik-precision systemd[1376]: gnome-terminal-server.service: Failed with result 'exit-code'.
Jul  3 01:07:02 arik-precision systemd[1376]: Failed to start GNOME Terminal Server.
Jul  3 01:07:27 arik-precision org.gnome.Shell.desktop[1543]: # Locale not supported by C library.
Jul  3 01:07:27 arik-precision org.gnome.Shell.desktop[1543]: # #011Using the fallback 'C' locale.
Jul  3 01:07:27 arik-precision org.gnome.Shell.desktop[1543]: # Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached

我将非常感激对此事提供的任何帮助!

谢谢,

阿里克

答案1

就我而言,当通过 vnc 连接时,我看到了“为 org.gnome.Terminal 调用 StartServiceByName 时出错:已达到超时”的错误。将此添加到我的 ~/.vnc/xstartup 解决了此问题:

dbus-update-activation-environment --all &

但是您可能需要将其放在实例中的其他初始化文件中。例如 /etc/profile 或类似文件。

相关内容