现象:在图形界面运行 Document Viewer 没反应,打开 pdf 文件没反应。
在命令行运行 evince:
No protocol specified
** (evince:22430): WARNING **: Could not open X display
No protocol specified
问题在于在这之前,把 home 目录挪到了另外的硬盘,改变了系统安全策略。
修复方法:
To modify the system's AppArmor policies, run this:
sudo dpkg-reconfigure apparmor
在弹出的框里面增加新的 home 目录所在的位置。