type
$xhost+ on a terminal of the user witch started the X server. Kim PS: why you want to start tomcat under roor user ... this is normally a bad idea. Quoting Thomas Garger <[EMAIL PROTECTED]>: > hi! > > i use tomcat 4.0.1, cocoon 2.0.2 and SUSE linux 8.0 > > if i start tomcat under a normal user (not root) everthing > works fine. > > but if i start tomcat under root user - and i want to access cocoon > > ->there is an error message in my catalin.out like this: > Xlib: connection to "212.186.159.80:0.0" refused by server > Xlib: No protocol specified > > ->the cocoon page puts out the following > org.apache.cocoon.ProcessingException: Error compiling sitemap: > java.lang.InternalError: Can't connect to X11 window server using ':0.0' > as the value of the DISPLAY variable. > . > . > . > > ->my startup.sh looks as following : > export DISPLAY=212.186.159.80:0 > BASEDIR=`dirname $0` > $BASEDIR/catalina.sh start "$@" > > if i don't put in the line "export DISPLAY=212.186.159.80:0", > than under a normal user it's also not working > > why this works with a non root user and not with root? > > greetings, tom > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>