Gtk-Message: Failed to load module “canberra-gtk-module” Unable to connect to dbus - Sublime text

前端 未结 3 1853
梦如初夏
梦如初夏 2020-12-06 21:57

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 mod         


        
3条回答
  •  时光取名叫无心
    2020-12-06 22:45

    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*
    

    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.

提交回复
热议问题