Ubuntu 16.04的X2GO无法从~/.xsession-x2go-errors中的以下错误消息开始
XSession-x2go: X session started for testuser at Fri Apr 26 22:30:23 EDT 2016
localuser:testuser being added to access control list
/etc/x2go/Xsession: 3: [: x: unexpected operator
mate-session[3684]: GLib-GIO-CRITICAL: g_settings_schema_source_lookup: assertion 'source != NULL' failed
mate-session[3684]: GLib-GIO-ERROR: No GSettings schemas are installed on the system
aborting...发布于 2016-04-27 07:43:44
要解决~/.profile中的问题集,XDG_DATA_DIRS和GSETTINGS_SCHEMA_DIR的系统默认值。
export GSETTINGS_SCHEMA_DIR=/usr/share/mate:/usr/share/mate:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
export XDG_DATA_DIRS=/usr/share/mate:/usr/share/mate:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop发布于 2016-05-02 05:39:31
好主意!我也有过这个问题。如果您想让Mate为所有用户启用x2go,我会将其放在
export GSETTINGS_SCHEMA_DIR=/usr/share/mate:/usr/share/mate:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
export XDG_DATA_DIRS=/usr/share/mate:/usr/share/mate:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop改为/etc/profile。玩得开心!
发布于 2016-04-28 12:07:57
在xfce4上也有相同的错误消息,但我没有相同的错误消息:更多的错误消息是:
(polkit-gnome-authentication-agent-1:28411): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(polkit-gnome-authentication-agent-1:28411): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(polkit-gnome-authentication-agent-1:28411): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(polkit-gnome-authentication-agent-1:28411): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(polkit-gnome-authentication-agent-1:28411): Gtk-WARNING **: Error loading theme icon 'gtk-cancel' for stock: Unrecognized image file format
(polkit-gnome-authentication-agent-1:28411): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: L'icône « image-missing » n'est pas présente dans le thème elementary-xfce-dark
(polkit-gnome-authentication-agent-1:28411): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(polkit-gnome-authentication-agent-1:28411): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(polkit-gnome-authentication-agent-1:28411): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(polkit-gnome-authentication-agent-1:28411): Gtk-WARNING **: Error loading theme icon 'gtk-cancel' for stock: Unrecognized image file format
(polkit-gnome-authentication-agent-1:28411): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: L'icône « image-missing » n'est pas présente dans le thème elementary-xfce-dark
(polkit-gnome-authentication-agent-1:28411): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(polkit-gnome-authentication-agent-1:28411): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(polkit-gnome-authentication-agent-1:28411): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed现在,它的工作方式是将帖子中的2行代码添加到xfce4中,并将其更改为“伴侣”。
https://askubuntu.com/questions/763597
复制相似问题