远程运行 synaptic 不起作用

远程运行 synaptic 不起作用

我的 Dell Inspiron 1100(32 位笔记本电脑)运行的是 Ubuntu 17.04。该机器有一个 Intel 82845GL 图形芯片,我无法让它工作。我将在另一篇文章中处理这个问题。

我正在尝试synaptic在不同的$DISPLAY(在我的情况下是)上运行localhost:10.0ssh 隧道。请注意,我以我的身份登录 ( ssh -Y),然后运行sudo以获取 root shell。

它可以工作,但每次我使用菜单选项时,它就会出现错误/无法工作,并且会出现一堆错误,如下所示:

Script started on Wed 26 Jul 2017 07:26:03 PM PDT
stupid ~ 110# synaptic

** (synaptic:1390): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-L39Ey9ADLX: Connection refused
(synaptic:1390): IBUS-WARNING **: The owner of /home/bennett/.config/ibus/bus is not root!
(synaptic:1390): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
(synaptic:1390): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
(synaptic:1390): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
(synaptic:1390): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
(synaptic:1390): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
(synaptic:1390): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
(synaptic:1390): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
(synaptic:1390): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
(synaptic:1390): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
(synaptic:1390): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
(synaptic:1390): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkMenuItem)
(synaptic:1390): Gtk-WARNING **: Negative content height -6 (allocation 1, extents 4x3) while allocating gadget (node menuitem, owner GtkMenuItem)
(synaptic:1390): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkMenuItem)
(synaptic:1390): Gtk-WARNING **: Negative content height -6 (allocation 1, extents 4x3) while allocating gadget (node menuitem, owner GtkMenuItem)
(synaptic:1390): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkMenuItem)
(synaptic:1390): Gtk-WARNING **: Negative content height -6 (allocation 1, extents 4x3) while allocating gadget (node menuitem, owner GtkMenuItem)
(synaptic:1390): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node separator, owner GtkSeparatorMenuItem)
...  

我发现其他远程运行的应用程序也有类似的行为。我错过了什么?类似程序xterm似乎运行良好。

为什么无法连接到 dbus?这是导致它崩溃的原因吗?

相关内容