Gnome 3总是在登录后挂起


9

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

短时间(约0-2分钟)后,gnome shell变得无响应。

徘徊在角落里/点击活动按钮不会做任何事情,
视窗卡住(应用程序响应,但在gnome是不是)
另外,Alt+ F2不会做任何事情。

我知道如何解决此问题的唯一方法是通过按
Ctrl+ Alt+ 进入Linux shell any from F1 to F6,然后登录并重新启动lightdm服务。

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
(1)您可以将.xsession-errors发布到您的问题中吗?(2)您是最近切换到gnome 3还是使用了一段时间?
John Siu 2013年

(1)我已经添加了xsession-errors文件(2)它是从apt仓库中全新安装的ubuntu和gnome 3
George

实际上,xsession-errors显示出很大的问题。没有正确启动。由于这是一个新安装,因此我将作一些解答。
John Siu

Answers:


2

我在Ubuntu 12.04和Gnome 3.4中遇到了类似的问题。通过执行以下操作,我设法将冻结频率降到最低:

  • 禁用专有视频驱动程序
  • ppa:gnome3-team / gnome3添加到源代码并更新
  • 您也可以尝试等待30秒。在登录之前。这听起来很愚蠢,但是当我向用户显示登录屏幕时,我认为并不是所有组件都准备就绪。(您可以责怪Canonical试图欺骗启动时间:))

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


感谢添加gnome3 repo和更新确实以某种方式解决了该问题。Gnome仍然是相同的版本,但是现在可以工作了:/当我有空的时候,我将更新到Gnome 3.6。
乔治,

1

解决方法

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

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

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

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

尝试的事情

  • 更新资料

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

它没有帮助。而且没有可用的更新,我也不想升级我的发行版。
乔治,

sudo apt-get dist-upgrade没有发布版本升级。它仅更新当前版本中的软件包。如果您使用的是12.04,它将保持为12.04。进行版本升级的命令是do-release-upgrade
John Siu 2013年

您可以检查是否已安装并运行dbus吗?如果缺少dbus,您描述的内容合适。
萧敬峰

(1)已升级0个,新安装了0个,要移除的0个和未升级的0个。(2)dbus启动/运行,过程768。但是问题仍然存在:(
乔治

您必须在dbus启动后重新启动lightdm。
John Siu
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.