Я вижу, что вопрос уже есть. Так как моя проблема не совсем та же, но, насколько я понимаю, она довольно похожа, я тоже ее спрашиваю.
В основном в середине моего использования, то есть просмотр сети или запуск случайного приложения. Ubuntu отправляет меня в окно входа в систему, и я должен повторно войти в систему. Я не знаю, перезапускает ли GDM или что-то еще. Это проблема, с которой я сталкиваюсь даже в стабильной версии Ubuntu.
Есть ли ошибка, о которой я не знаю ?? Как я могу отладить это?
Вот мой ~/.xsession_errors
выходной файл.
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=en_US.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
GNOME_KEYRING_CONTROL=/tmp/keyring-CN4XlZ
SSH_AUTH_SOCK=/tmp/keyring-CN4XlZ/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-CN4XlZ
SSH_AUTH_SOCK=/tmp/keyring-CN4XlZ/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-CN4XlZ
SSH_AUTH_SOCK=/tmp/keyring-CN4XlZ/ssh
Backend : gconf
Integration : true
Profile : unity
Adding plugins
Initializing core options...done
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Initializing bailer options...done
Initializing detection options...done
Initializing composite options...done
Initializing opengl options...done
Initializing decor options...done
Initializing vpswitch options...done
Initializing move options...done
Initializing imgsvg options...done
Initializing expo options...done
Initializing mousepoll options...done
Initializing workarounds options...done
Initializing resize options...done
Initializing gnomecompat options...done
Initializing ezoom options...done
Initializing staticswitcher options...done
Initializing obs options...done
Initializing snap options...done
Initializing scale options...done
Initializing wall options...done
Initializing imgjpeg options...done
Initializing grid options...done
Starting Dropbox...** Message: /home/sagar/.config/desktopnova/pidlock already exists, but process with PID 1911 is not DesktopNova. Daemon will continue starting.
Initializing place options...done
Initializing commands options...done
I/O warning : failed to load external entity "/home/sagar/.compiz/session/10d8191ee2e3827d13130355181434233600000157530036"
Initializing session options...done
** (process:15832): WARNING **: recent-manager-provider.vala:125: Desktop file for audacious2 was not found
(synapse:15840): GtkHotkey-DEBUG: Listener Type: GtkHotkeyX11Listener
** (nm-applet:15829): DEBUG: old state indicates that this was not a disconnect 0
Initializing nautilus-dropbox 0.6.7
Initializing nautilus-gdu extension
Done!
** (<unknown>:15822): DEBUG: Unity accessibility initialization
** (<unknown>:15822): DEBUG: Shows on edge: 1
Screen geometry changed:
Monitor 0(primary)
0x0x1366x768
unity-panel-service: no process found
** (<unknown>:15822): DEBUG: PanelController:: Added Panel for Monitor 0
Initializing unityshell options...done
Initializing unitymtgrabhandles options...done
Starting unity-window-decorator
** (<unknown>:15822): DEBUG: PlaceEntry: Applications
** (<unknown>:15822): DEBUG: PlaceEntry: Commands
** (<unknown>:15822): DEBUG: PlaceEntry: Files & Folders
** (<unknown>:15822): DEBUG: /com/canonical/unity/applicationsplace
** (<unknown>:15822): DEBUG: /com/canonical/unity/filesplace
** (<unknown>:15822): DEBUG: Setting to primary screen rect: x=0 y=0 w=1366 h=768
** (<unknown>:15822): DEBUG: Acquired the name com.canonical.Unity.Launcher on the session bus
** (<unknown>:15822): DEBUG: TrayChild Rejected: dropbox-client-15846 dropbox Dropbox
** (<unknown>:15822): DEBUG: TrayChild Rejected: synapse synapse Synapse
** (<unknown>:15822): DEBUG: TrayChild Rejected: nm-applet nm-applet Nm-applet
** (<unknown>:15822): DEBUG: TrayChild Accepted: gnote gnote Gnote
** (<unknown>:15822): DEBUG: TrayChild Rejected: gst-keyboard-xkb gnome-settings-daemon Gnome-settings-daemon
(gnote:15839): Gdk-CRITICAL **: IA__gdk_window_thaw_toplevel_updates_libgtk_only: assertion `private->update_and_descendants_freeze_count > 0' failed
** (<unknown>:15822): DEBUG: TrayChild Rejected: battery-indicator battery-status Battery-status
** (<unknown>:15822): DEBUG: IndicatorAdded: libapplication.so
** (<unknown>:15822): DEBUG: IndicatorAdded: libsoundmenu.so
** (<unknown>:15822): DEBUG: IndicatorAdded: libmessaging.so
** (<unknown>:15822): DEBUG: IndicatorAdded: libdatetime.so
** (<unknown>:15822): DEBUG: IndicatorAdded: libsession.so
Setting Update "run_key"
Setting Update "run_command_terminal_key"
Setting Update "initiate_output_edge"
Setting Update "launcher_hide_mode"
Setting Update "panel_opacity"
Setting Update "icon_size"
** (gnome-screensaver:16128): WARNING **: screensaver already running in this session
(<unknown>:15822): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'
(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
** (process:15832): DEBUG: zeitgeist-datahub.vala:174: Inserting 1 events
(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
** (<unknown>:15822): DEBUG: MaximizeIfBigEnough: window mapped and already maximized, just undecorate
** (<unknown>:15822): DEBUG: MaximizeIfBigEnough: Guake.py window size doesn't fit
** (<unknown>:15822): WARNING **: Unable to fetch children: Method "Children" with signature "" on interface "org.ayatana.bamf.view" doesn't exist
(<unknown>:15822): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'
(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
** (process:15832): DEBUG: zeitgeist-datahub.vala:174: Inserting 1 events
loaded md5.js
(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
** (<unknown>:15822): DEBUG: MaximizeIfBigEnough: window mapped and already maximized, just undecorate
(firefox-bin:18524): LIBDBUSMENU-GTK-CRITICAL **: dbusmenu_menuitem_property_set_shortcut: assertion `gtk_accelerator_valid(key, modifier)' failed
** (<unknown>:15822): DEBUG: MaximizeIfBigEnough: Guake.py window size doesn't fit
(<unknown>:15822): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'
(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
** (<unknown>:15822): DEBUG: MaximizeIfBigEnough: Guake.py window size doesn't fit
** (process:15832): DEBUG: zeitgeist-datahub.vala:174: Inserting 1 events
15846 ? 00:00:01 dropbox
22490 ? 00:00:00 unity-dropbox-s
/usr/bin/unity-dropbox-share: line 28: return: can only `return' from a function or sourced script
Error setting attribute: Error setting file metadata: No such file or directory
** (<unknown>:15822): DEBUG: Connected to proxy
(<unknown>:15822): dee-WARNING **: Transaction from com.canonical.Unity.FilesPlace.SectionsModel is in the past. Ignoring transaction.
(<unknown>:15822): dee-WARNING **: Transaction from com.canonical.Unity.FilesPlace.GroupsModel is in the past. Ignoring transaction.
(<unknown>:15822): dee-WARNING **: Transaction from com.canonical.Unity.FilesPlace.GlobalGroupsModel is in the past. Ignoring transaction.
** (<unknown>:15822): DEBUG: Connected to proxy
** (<unknown>:15822): DEBUG: Connected to proxy
(<unknown>:15822): GLib-GIO-CRITICAL **: g_bus_own_name: assertion `g_dbus_is_name (name) && !g_dbus_is_unique_name (name)' failed
(<unknown>:15822): GLib-GIO-CRITICAL **: g_bus_watch_name: assertion `g_dbus_is_name (name)' failed
(<unknown>:15822): GLib-GIO-CRITICAL **: g_bus_own_name: assertion `g_dbus_is_name (name) && !g_dbus_is_unique_name (name)' failed
(<unknown>:15822): GLib-GIO-CRITICAL **: g_bus_watch_name: assertion `g_dbus_is_name (name)' failed
(<unknown>:15822): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion `object_path != NULL && g_variant_is_object_path (object_path)' failed
(<unknown>:15822): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion `object_path != NULL && g_variant_is_object_path (object_path)' failed
(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
** (<unknown>:15822): DEBUG: MaximizeIfBigEnough: Nautilus window size doesn't fit
** (nautilus:15824): WARNING **: Invalid borders specified for theme pixmap:
/home/sagar/.themes/nautilus/null.png,
borders don't fit within the image
** (nautilus:15824): WARNING **: invalid source position for bilinear gradient
** (nautilus:15824): WARNING **: invalid source position for vertical gradient
** (nautilus:15824): WARNING **: invalid source position for horizontal gradient
** (nautilus:15824): WARNING **: Invalid borders specified for theme pixmap:
/home/sagar/.themes/nautilus/null.png,
borders don't fit within the image
** (nautilus:15824): WARNING **: invalid source position for bilinear gradient
** (nautilus:15824): WARNING **: invalid source position for vertical gradient
** (nautilus:15824): WARNING **: invalid source position for horizontal gradient
** (<unknown>:15822): DEBUG: MaximizeIfBigEnough: Guake.py window size doesn't fit
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
** (nautilus:15824): WARNING **: invalid source position for bilinear gradient
** (nautilus:15824): WARNING **: invalid source position for vertical gradient
** (nautilus:15824): WARNING **: invalid source position for horizontal gradient
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
Недавно я получил обновление для gnome-сессий. Я надеюсь, что это решит проблему, однако я могу быть уверен только после тестирования в течение нескольких дней ... Обновлю ситуацию.
ОБНОВЛЕНИЕ: Нет прогресса, получил обновление, но проблема не устранена. Но это, кажется, гораздо реже, чем раньше. Я следую за этим вопросом, так как некоторые люди предложили мне переустановить, но теперь я сталкиваюсь с зависанием Unity после изменения конфигурации compiz
.xsession-errors
в своем домашнем каталоге на наличие любых подозрительных предупреждений или ошибок, которые произошли непосредственно перед тем, как вы были перенаправлены на gdm.Ответы:
Это ошибка .
источник
Это может быть сбой видео драйвера. Какая у тебя видеокарта? Вы используете проприетарный драйвер? Если да, попробуйте другую версию или полностью удалите ее. Или, к сожалению, это может быть много других аппаратных средств. X-сервер - это колосс на глиняных ножках, и он наиболее уязвим к аппаратным сбоям. Проверьте свою память (memtest86), HDD (fsck, smart), температуру (lm-сенсоры). Попробуйте отключить все ненужное аппаратное и программное обеспечение. Например, я видел сбой X-сервера, когда EiskalDC ++ пытался проиндексировать файл размером 100 ГБ. Вы читали логи, dmesg? Что-нибудь подозрительное? PS выключи компиз. Он включен по умолчанию в Ubuntu.
источник
Вы используете Unity или GNOME? Попробуйте другой. Если это не сработает, я бы предложил попробовать Xubuntu (чтобы узнать, является ли это GNOME). Если ничего не помогло, создайте резервную копию домашнего раздела или папки, скопируйте / var / cache / apt в другую папку и переустановите. Используйте пакеты из кэша, чтобы переустановить ваши приложения.
источник
Попробуйте (в Терминале, без СУДО):
и затем не трогайте CCSM (Настройки Compiz) снова. Я не знаю, действительно ли это помогает в вашем случае, но я в той же ситуации и сейчас проверяю, происходят ли сбои.
источник