Using LibreOffice in a Web Browser

I followed the directions here: Using LibreOffice in a Web Browser - The Document Foundation Wiki

Build and install worked on aws but the command: soffice --writer just returns display not found rather than a port address.

Any thoughts?

libreoffice installed on aws instance ubuntu 14, accessed by chromebook.