

Note that some versions of the post-2.3.0 'soffice' binary have been known to not pass through the -headless option to the child soffice.bin process which it starts in turn, causing the X11 error above to persist. On Ubuntu/Debian, this package is called -headless. If you receive the error 'X11 error: Can't open display:' when running the above command, then you may need to install the 'headless' package from your Linux distribution. Sudo -H -u alfresco /usr/lib/openoffice/program/soffice '-accept=socket,host=localhost,port=8100 urp StarOffice.ServiceManager' -nologo -headless -nofirststartwizard Assuming you have created an ordinary user 'alfresco' to run the application server and OpenOffice, you can use the following command instead: If you are running this command as the root user - for example if you are starting OpenOffice from an init.d script - you should use sudo to ensure that the resulting process runs as a non-root user. Note that you may need to change this command, depending on where you (or your package manager) installed OpenOffice. usr/lib/openoffice/program/soffice '-accept=socket,host=localhost,port=8100 urp StarOffice.ServiceManager' -nologo -headless -nofirststartwizard

You can run the soffice process directly using the following command. 2.3.0 and above no longer needs to use Xvfb. 2.1.2 Registration using the graphical client.
