xhost
Try setting your DISPLAY to ":0". There seem to be some problems when using "localhost:0" or "<nodename>:0".
DISPLAY
:0
localhost:0