编辑1

编辑1

我遇到的问题是,登录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 

那么问题是如何解决 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

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!

提前致谢。

答案1

我在使用 Ubuntu 12.04 和 Gnome 3.4 时也遇到了类似的问题。我通过执行以下操作设法最大程度地减少了死机频率:

  • 禁用专有视频驱动程序
  • 添加ppa:gnome3 团队/gnome3来源和更新
  • 您还可以尝试等待 30 秒后再登录。这可能听起来很傻,但我认为在向用户显示登录屏幕时并非所有组件都已准备就绪。(您可以责怪 Canonical 试图在启动时间上作弊 :))

至少就我而言,彻底解决此问题的唯一方法是升级到 Ubuntu 12.10 和 Gnome 3.6。

答案2

解决方法

由于这是一个 flash 安装,我们可以创建一个新用户。

  1. 从文本终端登录
  2. 添加新用户

    sudo adduser <username>
    
  3. 将新用户添加到sudo组,或admin

    sudo adduser <username> sudo
    
  4. 切换回 X 并尝试使用新用户登录

值得尝试的事情

  • 更新

    sudo apt-get update
    sudo apt-get dist-upgrade
    

相关内容