Permission problem with some GUI apps

JD jd1008 at gmail.com
Tue Dec 11 05:17:06 UTC 2012


Running evince, I get the following error

(evince:5644): EggSMClient-WARNING **: Failed to connect to the session 
manager: None of the authentication protocols specified are supported

(evince:5644): Gtk-WARNING **: Attempting to read the recently used 
resources file at `/home/jd/.local/share/recently-used.xbel', but the 
parser failed: Failed to open file 
'/home/jd/.local/share/recently-used.xbel': Permission denied.

(evince:5644): Gtk-WARNING **: Attempting to store changes into 
`/home/jd/.local/share/recently-used.xbel', but failed: Failed to create 
file '/home/jd/.local/share/recently-used.xbel.32GDPW': Permission denied

(evince:5644): Gtk-WARNING **: Attempting to set the permissions of 
`/home/jd/.local/share/recently-used.xbel', but failed: Permission denied

I read about the bug at
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1016103

which points the reader to
https://wiki.ubuntu.com/DebuggingApparmor#Adjusting_Tunables

So, I followed the suggestion for the solution, which is:
to edit /etc/apparmor.d/tunables/home
and change

@{HOMEDIRS}=/home/
to
@{HOMEDIRS}=/home/  /exports/home/  (as an example)

But in my case, homes are located in /sdb3/home/ and   /home  itself is a symlink to /sdb3/home/
So, the change I made is:


@{HOMEDIRS}=/home/  /sdb3/home/


and i re-ran evince - and it still produces the same errors.





More information about the ubuntu-users mailing list