cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Garger" <>
Subject can't start cocoon under root
Date Thu, 04 Jul 2002 15:33:14 GMT

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 "" 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 looks as following :
export DISPLAY=
BASEDIR=`dirname $0`
$BASEDIR/ start "$@"

if i don't put in the line "export DISPLAY=",
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.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message