/usr/X11R6/bin is already in the system path, so if as the aolserver user I type 'identify filename', identify runs ok.
So I don't think that that is the problem here unless I am missing something.
Regards Richard