First time here? Check out the FAQ!
Hello.
For LO 3.4/3.5, I want to run LO in --headless mode and try out both the socket (listening on an arbitrary port) and pipe methods.
However, what is not clear to me is this...
1) With the socket method: if I specify an arbitrary port (instead of the default 2002) in the --accept argument, how does the the connecting client (a shell script) know about this port (meaning, where/how do I specify it in the client)?
2) With the pipe method: Do I have to create the pipe myself (using mkfifo) before passing its name to the --accept argument, or will LO automatically create the pipe for me? Further, how do I tell the connecting client (a shell script) about the name of this pipe?
Would greatly appreciate if you could give an example invocation for listening and connecting, and for socket and pipe methods.
Many thanks in advance,
/HS
Regarding the socket method, the client application should have a switch / config parameter for that. (unoconv has a -c switch for that)
In the past I also had it working with jodconverter (before we had the --convert-to switch), then the working commandline for me was:
./soffice.bin -headless -accept="socket,port=8100;urp;" -nologo
Probably the same (except you need --foo instead of -foo these days) still works.
HTH.
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-02-29 06:00:58 +0200
Seen: 1,208 times
Last updated: Feb 29 '12
How to use LibreOffice without X?
How to stop LibreOffice from outputting a converted file into a folder via command line?
Set ODF 1.0 as default via group policy
How can I uninstall the program?
Can Libreoffice read Appleworks files?
Restore Windows on MacBook Pro.
Can I install Libre 3.5 directly over older version? [closed]
Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
@Harry, Did @vmiklos answer your question for you? If so, please mark his answer as correct. Thanks!
qubit ( 2013-01-20 21:35:28 +0200 )edit