Solved, by adding /run/user through dpkg-reconfigure apparmor.
An overkill for this bug is:
1) Run evince xxx.pdf in terminal 2) Find out the last lines of the output of dmesg, which should go like this:
[ 7091.704251] audit: type=1400 audit(1427518665.187:100): apparmor="DENIED" operation="open" profile="/usr/bin/evince" name="/run/user/1000/gdm/Xauthority" pid=20485 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
, and remember the directory after "name=" 3) Run dpkg-reconfigure apparmor, add the directory after "name="( in this case it is /run/user/1000/gdm).
Hope this works.
Solved, by adding /run/user through dpkg-reconfigure apparmor.
An overkill for this bug is:
1) Run evince xxx.pdf in terminal
2) Find out the last lines of the output of dmesg, which should go like this:
[ 7091.704251] audit: type=1400 audit(142751866 5.187:100) : apparmor="DENIED" operation="open" profile= "/usr/bin/ evince" name="/ run/user/ 1000/gdm/ Xauthority" pid=20485 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
, and remember the directory after "name=" 1000/gdm) .
3) Run dpkg-reconfigure apparmor, add the directory after "name="( in this case it is /run/user/
Hope this works.