简体   繁体   English

启动 gnome-terminal 会导致“构造代理时出错...”

[英]starting gnome-terminal results in "Error constructing proxy..."

Running gnome-terminal gives me运行gnome-terminal给了我

# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling
StartServiceByName for org.gnome.Terminal: Timeout was reached

Output of localectl : localectl 的localectl

   System Locale: LANG=en_US.UTF-8
       VC Keymap: dvorak
      X11 Layout: dvorak
       X11 Model: pc105

What may be the cause of this error?这个错误的原因可能是什么? It's mentioned here but I'm not running it via sudo or root...这里提到了,但我不是通过 sudo 或 root 运行它...


Running sudo gnome-terminal works correctly suprisingly enough.运行sudo gnome-terminal可以正常工作,令人惊讶。

在我安装了gnome-session并运行gnome-session之后,此方法起作用了。

This forum thread made me find out, that you have to install whole gnome for it to work pacman -S gnome (instead of trying standalone pacman -S gnome-terminal or in my case pacman -S gnome-session ). 这个论坛帖子让我发现,你必须安装整个 gnome 才能让它工作pacman -S gnome (而不是尝试独立的pacman -S gnome-terminal或在我的情况下pacman -S gnome-session )。


An alternative solution would be to use dbus-launch gnome-terminal to start the terminal - as taken from here .另一种解决方案是使用dbus-launch gnome-terminal来启动终端 - 从这里获取。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM