I'm working on finishing up my cocoon packages, and I'm running into an issue I just can't get around. Cocoon uses some awt stuff for some of it's XSL-FO conversions and such. Unfortunately, this means that it freaks out if it tries to run as anything other than the logged-in user or root (who both have permission to access the display). If I try to set it up to properly use the 'tomcat' user:
sudo -u tomcat /sw/bin/tomcat It dies out with this error: kCGErrorIllegalArgument : initCGDisplayState: cannot map display interlocks. kCGErrorIllegalArgument : CGSNewConnection cannot get connection port kCGErrorIllegalArgument : CGSNewConnection cannot get connection port kCGErrorInvalidConnection : CGSGetEventPort: Invalid connection I've tried using PJA (the "Pure Java AWT" implementation) to trick it, but it doesn't seem to help. Does anyone have any ideas on this? Cocoon works great, as root, but there's no way I'm gonna leave tomcat as a root user... -- Benjamin Reed a.k.a. Ranger Rick ([EMAIL PROTECTED]) http://ranger.befunk.com/ An ice cream has its unique frequency.... Are you hungry for this ice cream? Or not? -- Alex Chiu, Immortality Inventor _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel