本文介绍了Gtk-Message:无法加载模块“canberra-gtk-module”无法连接到dbus - 崇高文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过SSH -X在远程服务器(Ubuntu 14.04)上工作。我已经安装了Sublime Text,当我尝试打开它时,我得到

I'm working on a remote server (Ubuntu 14.04) through SSH -X. I have installed Sublime Text and when I try to open it I get

Gtk-Message: Failed to load module "canberra-gtk-module"
Unable to connect to dbus

我该如何解决这个问题?

How do I solve this?

推荐答案

当我在,它似乎是libcanberra依赖项的问题,我偶然发现这和解决方案为我在Sublime Text 2 / Debian 8上工作。
所以试试这个:

As I found at the end of this thread, it appears to be a problem with the libcanberra dependencies, I stumbled upon this and the solution worked for me on Sublime Text 2/Debian 8.So try running this:

sudo apt-get install libcanberra-gtk*

这样就消除了GTK消息,但无法连接到dbus ......当我以非root用户身份执行崇拜时,东西消失了。

This got rid of the GTK message, but the "Unable to connect to dbus..." stuff disappeared when I executed sublime as a non-root user.

这篇关于Gtk-Message:无法加载模块“canberra-gtk-module”无法连接到dbus - 崇高文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 10:46