新安装的 debian gnome 3 在关闭时挂起

新安装的 debian gnome 3 在关闭时挂起

我刚刚在我的 msi 笔记本电脑 MSI GS 60 2PC-247XFR 上安装了带有 gnome 3 的 Debian Stable,当我关闭或退出会话时,系统就会冻结,以下是我的 syslog 文件中的引用:

Sep 26 17:44:21 debian gnome-session[1175]: nm-applet-Message: PID 1 (we 
are 1361) sent signal 15, shutting down...
Sep 26 17:44:21 debian org.gnome.evolution.dataserver.Sources3[1216]: (evolution-source-registry:1348): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed
Sep 26 17:44:21 debian org.gnome.evolution.dataserver.Sources3[1216]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Sep 26 17:44:21 debian gnome-session[1175]: Received signal:15->'Complété'
Sep 26 17:44:21 debian gnome-session[1175]: Received signal:15->'Complété'
Sep 26 17:44:21 debian org.gnome.evolution.dataserver.Calendar4[1216]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Sep 26 17:44:21 debian gnome-session[1175]: Received signal:15->'Complété'
Sep 26 17:44:21 debian org.freedesktop.Tracker1[1216]: Received signal:15->'Complété'
Sep 26 17:44:21 debian org.gnome.zeitgeist.Engine[1216]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Sep 26 17:44:21 debian org.gnome.zeitgeist.Engine[1216]: #033[31m[15:44:21.080633 WARNING]#033[0m zeitgeist-daemon.vala:449: The connection is closed
Sep 26 17:44:21 debian org.gnome.zeitgeist.SimpleIndexer[1216]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Sep 26 17:44:21 debian org.gnome.zeitgeist.SimpleIndexer[1216]: ** (zeitgeist-fts:1418): WARNING **: zeitgeist-fts.vala:252: The connection is closed
Sep 26 17:44:21 debian bluetoothd[579]: Terminating
Sep 26 17:44:21 debian ModemManager[581]: <info>  Caught signal, shutting down...
Sep 26 17:44:21 debian NetworkManager[584]: <info> caught signal 15, shutting down normally.
Sep 26 17:44:21 debian kernel: [  938.756284] wlan0: deauthenticating from 2a:a4:3c:bb:bc:36 by local choice (Reason: 3=DEAUTH_LEAVING)
Sep 26 17:44:21 debian wpa_supplicant[686]: wlan0: CTRL-EVENT-DISCONNECTED bssid=2a:a4:3c:bb:bc:36 reason=3 locally_generated=1
Sep 26 17:44:21 debian rsyslogd: [origin software="rsyslogd" swVersion="8.4.2" x-pid="622" x-info="http://www.rsyslog.com"] exiting on signal 15.

我不太明白这条消息,有人知道问题是什么吗?

编辑:我在冻结后等待了一段时间而不是强制关闭,出现了此消息: 在此输入图像描述 然后它关闭了..我在日志中找不到此消息的任何痕迹,无论是在 kern.log 还是 syslog 中

答案1

我通过在 BIOS 中将“主显示器”从 nvidia 更改为 intel 解决了这个问题,不再冻结 我还注意到“lspci -nn | grep VGA”既没有检测到我的 gtx860m,也没有检测到“nvidia-detect”,我将打开稍后会有一个新问题...它可能是相关的..

编辑:现在我解决了 nvidia、冻结等方面的所有问题。

--> 看来问题出在 Nvidia Optimus 上,所以我安装了 bumblebee (https://wiki.debian.org/Bumblebee),将“主显示”切换回 nvidia。唯一不好的是每次我需要使用显卡来运行时,我都需要通过输入“optirun”或“primusrun”来运行它......

仅供参考,如果您的系统在安装 nvidia 驱动程序后无法启动(因为您有 nvidia optimus 或其他问题......),请进入恢复模式类型,apt-get purge nvidia-*然后重命名 xorg.conf 文件。 (不需要像我一样重新安装 debian)如果您仍然想使用显卡安装 bumblebee,请按照上面 wiki 链接中的说明进行操作

答案2

从 Debian 升级到最新内核应该可以解决问题。

您可以通过以下方式执行此操作:

apt-get install linux-image-flavour

有关如何升级内核的更多信息:
https://wiki.debian.org/HowToUpgradeKernel

相关内容