I forgot to say that the application works if I launch soffice from
command line, but I have to use xvfb-run
xvfb-run soffice "-
accept=socket,host=localhost,port=2002;urp;StarOffice.ServiceManager" -
norestore -nofirststartwizard -nologo -headless &
soffice is supposed to run without xvfb since 3.x versions, but if I
try to execute it without xvfb I get the following message:
Could not find a Java Runtime Environment!
/usr/lib/openoffice/program/soffice.bin X11 error: Can't open
display:
Set DISPLAY environment variable, use -display option
or check permissions of your X-Server
(See "man X" resp. "man xhost" for details)
Thanks in advance.