------------------------------------------------------------- Finally you also need to add the following command to a startup script for your xorg session (including the colon):
xhost local:
Just create a file with the command, make sure it's +x and add it to the list in System>Preferences>Startup Applications.