(Sorry that I started something slightly different with my previous mail.) >> BUGS >> unoconv uses the UNO bindings to connect to OpenOffice, in absence of a >> usable socket, it will start its own OpenOffice instance with the >> correct parameters. However, OpenOffice requires a working DISPLAY >> (even with -headless option) and therefor you cannot run it in a true >> console, you need X. > >> I think that that might be the reason of this bug. Does >> openoffice.org-headless have an appropriate bug listed somewhere? > > Well. This remark was true with OpenOffice.org 2 but may be false with > OpenOffice.org 3. This should be tested. Well, I am trying to use unoconv in a debian package during build time, but I can't get that to work. So it seams to me this is still an issue with OOo 3. See below: build depend on unoconv (should pull in the necessary packages): in rules file: /usr/bin/unoconv -d odt -f pdf --stdout WinFF.odt > winff.pdf gets me: Error: Unable to connect or start own listener. Aborting.(pbuild27653) etna winff-0.45.1 # make: *** [build-stamp] Error 251 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 pbuilder: Failed autobuilding of package javaldx: Could not find a Java Runtime Environment! I18N: Operating system doesn't support locale "en_US" /usr/lib/openoffice/program/soffice.bin X11 error: Can't open display: :0 Set DISPLAY environment variable, use -display option or check permissions of your X-Server (See "man X" resp. "man xhost" for details) Running the command in my pbuilder environment: (pbuild27653) etna winff-0.45.1 # /usr/bin/unoconv -d odt -f pdf --stdout WinFF.odt > winff.pdf I18N: Operating system doesn't support locale "en_US" /usr/lib/openoffice/program/soffice.bin X11 error: Can't open display: :0 Set DISPLAY environment variable, use -display option or check permissions of your X-Server (See "man X" resp. "man xhost" for details) javaldx: Could not find a Java Runtime Environment! I18N: Operating system doesn't support locale "en_US" /usr/lib/openoffice/program/soffice.bin X11 error: Can't open display: :0 Set DISPLAY environment variable, use -display option or check permissions of your X-Server (See "man X" resp. "man xhost" for details) Error: Unable to connect or start own listener. Aborting. Kind regards Paul