这篇文章上次修改于 1701 天前,可能其部分内容已经发生变化,如有疑问可询问作者。 Mint 19.2基于ubuntu 18.04,所以bug肯定是继承了的。 备注一下已知问题和暂时解决办法 1. 使用vpn后dns解析异常,表现为一会儿使用本地isp的一会儿使用vpn推送的。 - https://github.com/systemd/systemd/issues/6076 - https://github.com/systemd/systemd/issues/10830 - https://github.com/systemd/systemd/issues/7182 我的临时解决办法简单粗暴,禁用systemd的解析服务,改用NetworkManager的, [参考这里](https://www.unixgr.com/disabling-systemd-resolvd-service-on-ubuntu-systems/ "参考这里") ``` sudo systemctl disable systemd-resolved.service sudo service systemd-resolved stop ``` 编辑`/etc/NetworkManager/NetworkManager.conf`,添加 ``` [main] dns=default ``` 清理原有链接并重启NetworkManager ``` sudo rm /etc/resolv.conf sudo service network-manager restart ``` 2. fcitx不能自动启动,貌似和dbus有关: 解决办法:添加到Startup Applications里面去 fcitx无法更改默认输入法: ``` rm -rf ~/.config/fcitx/data/layout_override ``` 3. xsessions里报找不到smartcard driver ``` [cinnamon-settings-daemon-smartcard] Failed to start: no suitable smartcard driver could be found [cinnamon-settings-daemon-smartcard] Failed to start: no suitable smartcard driver could be found ``` 解决办法: 修改` /etc/xdg/autostart/cinnamon-settings-daemon-smartcard.desktop`禁用自动启动 ``` X-GNOME-Autostart-enabled=false X-GNOME-Autostart-Phase=false X-GNOME-Autostart-Notify=false X-GNOME-AutoRestart=false ``` 4. nm-applet异常,扫描wifi变更时内存泄漏 ``` (nm-applet:12782): Gtk-WARNING **: 14:26:55.405: Can't set a parent on widget which has a parent ``` https://gitlab.gnome.org/GNOME/network-manager-applet/issues/34 暂时无解。 5. /etc/network/if-up.d/下的脚本执行异常,应改为使用 NetworkManager dispatch events的方式执行。 解决办法:放在 /etc/NetworkManager/dispatcher.d/ 6. 内核报错 ``` [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0xb2 (or later) ``` https://stackoverflow.com/questions/48036877/debian-firmware-bug-tsc-deadline-disabled-due-to-errata 解决办法: ``` sudo apt install intel-microcode ``` 7. PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory https://forums.linuxmint.com/viewtopic.php?t=286950 解决办法:编辑 ``` /etc/pam.d/lightdm /etc/pam.d/lightdm-greeter ``` 注释掉对应两行即可 ``` #auth optional pam_kwallet.so #auth optional pam_kwallet5.so #session optional pam_kwallet.so auto_start #session optional pam_kwallet5.so auto_start ``` 8. psmouse serio2: elantech: failed to query capabilities. https://www.linuxquestions.org/questions/linux-hardware-18/touchpad-recognized-as-ps-2-elantech-touchpad-multitouch-not-working-on-latest-linux-distros-mint-ubuntu-fedora-manjaro-4175608561/ 解决办法: 编辑`/etc/default/grub`重新生产启动镜像: ``` GRUB_CMDLINE_LINUX="i8042.nomux=1 i8042.reset" ``` https://unix.stackexchange.com/questions/28736/what-does-the-i8042-nomux-1-kernel-option-do-during-booting-of-ubuntu 9. pulseaudio 启动失败 ``` [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files ``` 解决办法 ``` apt-get install ofono ``` 10. rtl8821ae 无线驱动 ``` sudo apt-get install linux-headers-generic build-essential git git clone http://github.com/lwfinger/rtlwifi_new.git cd rtlwifi_new make sudo make install #When your kernel changes, then you need to do the following: cd ~/rtlwifi_new git pull make sudo make install ``` 多点出触摸和手势 - https://howchoo.com/g/mdy0ngziogm/the-perfect-almost-touchpad-settings-on-linux-2 - https://github.com/p2rkw/xf86-input-mtrack 联想air系列安装ubuntu参考资料: - https://askubuntu.com/questions/367963/ubuntu-on-lenovo-yoga-2-pro - https://github.com/lwfinger/rtlwifi_new - https://askubuntu.com/questions/872313/wireless-issues-on-16-04-with-rtl8821ae-asus-e202s - https://medium.com/@elmaxx/rtl8821ae-wifi-drivers-in-ubuntu-16-04-4c1286524afa
没有评论