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
2.错误信息: Could not parse desktop file orca-autostart.desktop or it reference
原因:因为不用屏幕朗读,所以卸载了orca。
解决方法:
sudo rm /usr/share/gdm/greeter/autostart/orca-autostart.desktop
3.错误信息: 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