Fedora 27 频繁崩溃的临时解决办法 Workaround of Fedora 27 Gnome Shell Crash

最新发布的Fedora 27桌面版,在某些情况下会频繁出现崩溃的情况。若崩溃,会跳转到用户登陆界面,并且你会丢失之前正在进行的工作,由此会导致数据丢失。
If you are using the new released Fedora 27 workstation, you may encounter random gnome shell crashes in many corner cases (i.e., when you try to login after a short-period suspend, or when you are typing in a Firefox input form. When the crash occurs, you loose or your unsaved work, as it returns to the login screen.

一个临时的解决办法是,在登陆界面中选择“运行于Xorg的Gnome”然后登陆。这种方式不会从根本上组织Gnome Shell崩溃,但是能够确保在Gnome Shell崩溃后不会丢失正在进行的工作,避免数据丢失。
A workaround to temporarily prevent dataloss is to select “Gnome on Xorg” when you login.

运行于Xorg的Gnome
运行于Xorg的Gnome

这是因为,Gnome默认运行于Wayland,这种方式下Shell本身其实是显示服务器,如果Gnome Shell崩溃,跟随其启动的进程随之都会被kill掉。而在Xorg模式下,在Shell崩溃时它会自动重新启动,用户看到的只是突然间窗口标题等消失,然后又重新出现。
When Gnome is running on Wayland, if Gnome Shell crashes, all the processes started by it are killed. However, when running on Xorg, all other processes are reserved and the shell is restarted.

更多信息请见发行说明:For more information, see: https://fedoraproject.org/wiki/Common_F27_bugs#shell-crash-wayland

 


Posted

in

by

Tags:

评论 Comments

4 responses to “Fedora 27 频繁崩溃的临时解决办法 Workaround of Fedora 27 Gnome Shell Crash”

  1. Kevin Suo

    2018-1-24 更新:Gnome Shell 上游已经提交了一个补丁,该问题已经解决。Fedora 27 已经做了相应的更新包,预计很快就会发布。请随时更新到最新版。

  2. Kevin Suo

    Gnome上游有关该问题的报告:https://bugzilla.gnome.org/show_bug.cgi?id=788931
    Fedora有关该问题的报告:https://bugzilla.redhat.com/show_bug.cgi?id=1469129

  3. Kevin Suo

    另外,Gnome Shell的一个扩展,Places Indicator,近期好像会导致崩溃的问题。这个好像不是扩展本身的问题,而是由于网络网络问题无法安装该扩展的更新导致的(可能是由于其他部件已被升级但该扩展无法升级导致冲突)。解决办法是禁用该扩展。

    (In reply to Silvio Marazzato from comment #151) > gnome-shell-3.26.2-3.fc27 crashes to login screen(both Wayland and Xorg
    > sessions) when I plug the smartphone using the USB cable.
    > Disabling the extension:
    > https://extensions.gnome.org/extension/8/places-status-indicator/
    > Now works fine. I suffer from the crash with this extension also, when plugin the usb or umount it from witin file manager. I noticed that when it crashes, no crash reports are generated nor reported automatically. I see there is an update to this extension (and some others), but I am not to get updates to any of the gnome extensions from the Gnome Software or dnf. Yes this is a different issue.

  4. Kevin Suo

    Fedora今日表示更新包已推送到了稳定版更新通道。问题已解决。

Leave a Reply

Your email address will not be published. Required fields are marked *