No protocol specified in Evince

:heavy_exclamation_mark: This post is older than a year. Consider some information might not be accurate anymore. :heavy_exclamation_mark:

The evince pdf viewer under Ubuntu 14.04 LTS didn’t work anymore, after I have moved my home directory from /home to /data/home

A symlink wasn’t sufficient.

After looking up https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1433165 the solution is simply to run

sudo dpkg-reconfigure apparmor

and configure the new home directory to /data/home/. The last / is important!

Please remember the terms for blog comments.