I believe if you issue the command "xhost +localhost" you'll be in business.
For further details check:
man xhost