web-dev-qa-db-ja.com

Ubuntu Mate / Xfce 16.04を使用したX2GOの起動に失敗する

Ubuntu Mate 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...
7
nkef

~/.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
6
nkef

いい案!私もこの問題を抱えていました。すべてのユーザーに対して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に。楽しんで!

2
Gerhard Stein

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行追加するだけで機能し、mateをxfce4に変更します。

0
vigilian