我在尝试启动 Thunderbird(或任何其他程序,例如 evince)时收到此错误:
❯ thunderbird
Unable to init server: Unable to create socket: Permission denied
Error: cannot open display: :0
❯ thunderbird -v
Thunderbird 68.10.0
有任何想法吗?
❯ cat /etc/linuxmint/info
RELEASE=20
CODENAME=ulyana
EDITION="Cinnamon"
DESCRIPTION="Linux Mint 20 Ulyana"
DESKTOP=Gnome
TOOLKIT=GTK
NEW_FEATURES_URL=https://www.linuxmint.com/rel_ulyana_cinnamon_whatsnew.php
RELEASE_NOTES_URL=https://www.linuxmint.com/rel_ulyana_cinnamon.php
USER_GUIDE_URL=https://www.linuxmint.com/documentation.php
GRUB_TITLE=Linux Mint 20 Cinnamon
答案1
我找到了一个解决方案(https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1433165):
sudo apparmor_parser -R /etc/apparmor.d/usr.bin.evince
sudo apparmor_parser -R /etc/apparmor.d/usr.bin.thunderbird
我不明白它的作用,但我现在可以启动 evince 和 Thunderbird。