登录后 Gnome 3 总是挂起

Geo*_*rge 9 gnome lightdm 12.04 xserver

我遇到的问题是,登录后进入GNOME Shell 3.4.1Ubuntu 12.04.1 LTS

一小段时间(大约 0-2 分钟)后,gnome shell 变得没有响应。

将鼠标悬停在角落上/单击活动按钮没有任何作用,
Windows 卡住了(应用程序正在响应,但 gnome 没有响应)
此外,Alt+F2也没有任何作用。

我知道如何解决此问题的唯一方法是按
Ctrl+ Alt+转到 linux shell any from F1 to F6,登录并重新启动 lig​​htdm 服务。

sudo service lightdm restart 
Run Code Online (Sandbox Code Playgroud)

所以问题是如何解决登录后 Gnome 3 挂起的问题?

hertz@hertzbox:~$ uname -a
Linux hertzbox 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

hertz@hertzbox:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.1 LTS
Release:    12.04
Codename:   precise

hertz@hertzbox:~$ gnome-shell --version
GNOME Shell 3.4.1
Run Code Online (Sandbox Code Playgroud)

PS 加载或不加载扩展都是一样的


编辑 1

.xsession 错误

(gnome-settings-daemon:1365): GLib-CRITICAL **: g_variant_new_string: assertion `string != NULL' failed

(gnome-settings-daemon:1365): GLib-GIO-CRITICAL **: g_settings_schema_key_type_check: assertion `value != NULL' failed

(gnome-settings-daemon:1365): GLib-CRITICAL **: g_variant_get_type_string: assertion `value != NULL' failed

(gnome-settings-daemon:1365): GLib-GIO-CRITICAL **: g_settings_set_value: key 'picture-uri' in 'org.gnome.desktop.background' expects type 's', but a GVariant of type '(null)' was given
** Message: applet now removed from the notification area

** (nautilus:1585): WARNING **: Can not get _NET_WORKAREA

** (nautilus:1585): WARNING **: Can not determine workarea, guessing at layout
** Message: Stopping registered applet secret agent because GNOME Shell is running
** Message: using fallback from indicator to GtkStatusIcon

(gnome-shell:1546): folks-WARNING **: Failed to find primary PersonaStore with type ID 'eds' and ID 'system'.
Individuals will not be linked properly and creating new links between Personas will not work.
The configured primary PersonaStore's backend may not be installed. If you are unsure, check with your distribution.
** Message: applet now embedded in the notification area
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus 0x1000004 (Desktop) with a timestamp of 0.  This shouldn't happen!
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.


** (zeitgeist-datahub:1867): WARNING **: recent-manager-provider.vala:133: Desktop file for "file:///home/hertz/projects/chrome-steamgifts-notifier/js/options/options.js" was not found, exec: sublime_text, mime_type: application/javascript

** (zeitgeist-datahub:1867): WARNING **: recent-manager-provider.vala:133: Desktop file for "file:///home/hertz/Sublime%20Text%202/Icon/256x256/sublime_text.png" was not found, exec: gnome-desktop-item-edit, mime_type: image/png

** (zeitgeist-datahub:1867): WARNING **: recent-manager-provider.vala:133: Desktop file for "file:///home/hertz/Sublime%20Text%202/sublime_text" was not found, exec: gnome-desktop-item-edit, mime_type: application/octet-stream

** (zeitgeist-datahub:1867): WARNING **: recent-manager-provider.vala:133: Desktop file for "file:///home/hertz/Desktop/christmasTree/tree.py" was not found, exec: python, mime_type: text/x-python

** (zeitgeist-datahub:1867): WARNING **: recent-manager-provider.vala:133: Desktop file for "file:///home/hertz/projects/chrome-steamgifts-notifier/js/test.js" was not found, exec: sublime_text, mime_type: application/javascript

** (nautilus:1585): WARNING **: Error calling current_status: Method "current_status" with signature "" on interface "com.ubuntuone.SyncDaemon.Status" doesn't exist


** (nautilus:1585): CRITICAL **: syncdaemon_status_info_get_online: assertion `SYNCDAEMON_IS_STATUS_INFO (sinfo)' failed
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus 0x1a00003 (Unlock Log) with a timestamp of 0.  This shouldn't happen!
** Message: applet now removed from the notification area

(gnome-settings-daemon:1365): Gdk-WARNING **: gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Gkr-Message: secret service disappeared while waiting for prompt

(nm-applet:1582): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

[1586:1617:0105/225607:ERROR:native_backend_gnome_x.cc(664)] Keyring find failed: Error communicating with gnome-keyring-daemon

(nautilus:1585): Gdk-WARNING **: nautilus: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.


(gnome-shell-calendar-server:1675): Gdk-WARNING **: gnome-shell-calendar-server: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

[1586:1586:0105/225607:ERROR:chrome_browser_main_x11.cc(62)] X IO Error detected

(gdu-notification-daemon:1856): Gdk-WARNING **: gdu-notification-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.


(evolution-alarm-notify:1895): Gdk-WARNING **: evolution-alarm-notify: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.


(update-notifier:1946): Gdk-WARNING **: update-notifier: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.


(deja-dup-monitor:1960): GVFS-RemoteVolumeMonitor-WARNING **: Owner :1.34 of volume monitor org.gtk.Private.GduVolumeMonitor disconnected from the bus; removing drives/volumes/mounts

(deja-dup-monitor:1960): GVFS-RemoteVolumeMonitor-WARNING **: Owner :1.35 of volume monitor org.gtk.Private.GPhoto2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts

(deja-dup-monitor:1960): GVFS-RemoteVolumeMonitor-WARNING **: Owner :1.36 of volume monitor org.gtk.Private.AfcVolumeMonitor disconnected from the bus; removing drives/volumes/mounts

** (zeitgeist-datahub:1867): WARNING **: zeitgeist-datahub.vala:227: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
Run Code Online (Sandbox Code Playgroud)

提前致谢。

ara*_*boi 2

我在 Ubuntu 12.04 和 Gnome 3.4 上也遇到了类似的问题。我通过执行以下操作设法最大限度地减少冻结频率:

  • 禁用专有视频驱动程序
  • 将ppa:gnome3-team/gnome3添加到源并更新
  • 您也可以尝试等待 30 秒。这可能听起来很愚蠢,但我认为当登录屏幕呈现给用户时,并非所有组件都已准备好。(你可以责怪 Canonical 试图在启动时间上作弊:))

唯一能永久解决这个问题的方法是升级到 Ubuntu 12.10 和 Gnome 3.6,至少对我来说是这样。