I have a web application developed using JSPs, that needs to connect to a X server to show a statistics graphic. The logs when I issue an "xhost + localhost" of Tomcat gives this :
Xlib: connection to "localhost:0.0" refused by server Xlib: No protocol specified
xhost: unable to open display "localhost:0.0"
When I issue a xhost to a different box, it doesnt fail. I have been googling a bit, I got the impression that using xhost is not safe, and it is better to use xauth. Anyway I still dont know how to fix this.
Regards and sorry for my english
Miguel - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html