ecm  

Re: [Ecm] PDF conversion with OpenOffice running as normal user

Tiry
Thu, 07 Aug 2008 02:43:12 -0700

Hi Florent,

This should work without the root user.
This may be an issue with xvfb and Xauth.

When you start xvfb and openoffice as non root user and do a netstat : 
do you see OOo listing on 8100 port ?

Tiry

Florent Soulière a écrit :
> [sorry, this is a repost because my previous mail was considered a reply 
> to thread "[Ecm] Theme", in the mailing list...]
>
> Hi,
>
> I am trying to setup the PDF conversion feature of Nuxeo 5.1.5 on a
> Debian Etch server, using the procedure described in the nuxeo doc.
>
> The point is: it works ok (i.e. by running Xvfb, and then soffice
> -headless) as long as the required software pieces are run as root. When
> run as any normal user, PDF conversion fails with the following log:
> 2008-07-30 10:22:38,823 INFO
> [com.artofsolving.jodconverter.openoffice.connection.SocketOpenOfficeConnection]
>  
>
> connected
> 2008-07-30 10:22:45,152 ERROR
> [org.nuxeo.ecm.platform.transform.plugin.joooconverter.impl.JOOoConvertPluginImpl]
>  
>
> An error occured trying to convert a file to from
> application/vnd.oasis.opendocument.text to application/pdf: conversion
> failed; com.sun.star.task.ErrorCodeIOException:
> 2008-07-30 10:22:45,152 INFO
> [com.artofsolving.jodconverter.openoffice.connection.SocketOpenOfficeConnection]
>  
>
> disconnected
> 2008-07-30 10:22:45,153 ERROR
> [org.nuxeo.ecm.webapp.action.ConversionActionBean] Transform service
> didn't return any resulting documents which is not normal.
>
> Note: I already run nuxeo server successfully as another dedicated user
> : "nuxeo".
>
> Because running Xvfb and soffice as root is not so good in term of
> security. Running them as a dedicated user (e.g. "ooo" user) could bring
> better service isolation.
>
> Does anyone know how to run openoffice server as a normal user which
> nuxeo can use to convert files as PDF? Or any clue for further debugging?
>
> Thanks!
>
> --
> Florent Soulière
> COMTINUX - 2C chemin de Palente - 25000 BESANÇON - FRANCE
> Internet : http://www.comtinux.fr
> Tél : +33 (0)3 81 80 39 77 Fax : +33 (0)3 59 08 75 65
> _______________________________________________
> ECM mailing list
> ECM@lists.nuxeo.com
> http://lists.nuxeo.com/mailman/listinfo/ecm
>   

_______________________________________________
ECM mailing list
ECM@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm