It's not a question of
nobody being able to execute StarOffice. The
cannot open display error means that when you run the StarOffice macro, it tries to open up a window in XFree. The X session you see on your desktop is owned by your user. However,
nobody does not (and should never) have an X session running, nor the permission to start one. What's the point in an X GUI from a CGI script? If you absolutely must have the functionality you describe from a CGI script, you can set
$ENV{DISPLAY} in your script appropriately (probably to ":0"), and then play around with the
xhosts command from your X session, although this may not even work, I have not messed around extensively with
xhost. If it does end up working, you will probably get a window to pop up on your desktop every time someone hits your CGI script. Is this really what you want?
blokhead