When trying to run various GUI applications on my linux server I kept getting the following error:

No protocol specified
xhost:  unable to open display ":0.0"