I solved this by removing auctex and reinstalling a newer version http://theotp1.physik.uni-ulm.de/~ste/comp/emacs/auctex/snapshots/ftp/auctex-current.tar.gz as seen in http://www.latex-community.org/forum/viewtopic.php?f=25&p=50323#p48391
this bug must be a duplicate of https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/543266 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/789608 Title: emacs auctex latex-preview invalidfileaccess error and gs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs