ubuntu gnome 17.04 问题解决

前端之家收集整理的这篇文章主要介绍了ubuntu gnome 17.04 问题解决前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

**严重问题:系统有时卡死,完全无响应 **
看kernel日志,错误信息如下:

kernel BUG at /build/linux-7LGLH_/linux-4.10.0/include/linux/swapops.h:129

看上去和swap有关系,17.04默认使用swap文件,非swap分区。
搜到的信息:https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1674838
** 解决方法效果待观察): **
修改fstab,改为使用swap分区
更新(2017.5.10): 换用swap分区无效。看kernel日志,似乎发生了死锁,有Intel api的字样,搜到下面的帖子:
ubuntu-15-10-and-16-04-keep-freezing-randomly
给出的解决方法

sudo vi /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=1"
sudo update-grub
sudo reboot

以下问题通过 journalctl -b 查看启动日志中失败项

  1. nvidia驱动问题:
    安装了nvidia-375,tested驱动,但启动日志里一堆失败:
[Failed] Failed to start NVIDIA Persistence Daemon. See 'systemctl status nvidia-persistenced.service' for details.
nvidia-persistenced.service: Failed at step EXEC spawning /usr/bin/nvidia-persistenced: No such file
nvidia-persistenced[12507]: Failed to open libnvidia-cfg.so.1: libnvidia-cfg.so.1: cannot open shared object file: No such file

都是文件找不到(安装包的问题?)。用 nvidia-smi 查看状态也提示找不到 libnvidia-ml.so
手动解决方法

sudo ln -s /usr/lib/nvidia-375/libnvidia-ml.so.1 /usr/lib/
sudo ln -s /usr/lib/nvidia-375/libnvidia-cfg.so.1 /usr/lib/
sudo ln -s /usr/lib/nvidia-375/bin/nvidia-persistenced /usr/bin
  1. 错误信息: Could not parse desktop file orca-autostart.desktop or it reference
    **原因:**因为不用屏幕朗读,所以卸载了orca。
    解决方法
sudo rm /usr/share/gdm/greeter/autostart/orca-autostart.desktop
  1. 错误信息: spice-vdagent[1434]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice
    **原因:**桌面机,非虚拟机
    解决方法
sudo vim /usr/share/gdm/greeter/autostart/spice-vdagent.desktop
添加:X-GNOME-Autostart-enabled=false

未理会的错误

  1. Apparmor Init Failed,Exit Code 123
    sudo apt install apparmor-easyprof-ubuntu
  2. AppArmor parser error for /etc/apparmor.d/usr.bin.firefox. line 23: Could not open 'abstractions/ubuntu-browsers.d/firefox'
    sudo systemctl status -l apparmor.service
  3. nvidia: loading out-of-tree module taints kernel.
  4. iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
  5. failed to open statefile /var/run/network/ifstate:
  6. [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.
    dbus-send --system --type=method_call --print-reply --dest=org.ofono / org.freedesktop.DBus.Introspectable.Introspect
  7. pulseaudio.desktop[1936]: 打开声音文件失败。
    gnome-session[1711]: gnome-session-binary[1711]: WARNING: App 'pulseaudio.desktop' exited with code 1
  8. gsd-housekeepin[1950]: Failed to enumerate children of /tmp/systemd-private
原文链接:https://www.f2er.com/ubuntu/353328.html

猜你在找的Ubuntu相关文章