Yes actually, I have openoffice listening on port 8100.

But I noticed these messages when I start Xvfb:
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/misc, removing 
from list!
Could not init font path element /usr/share/fonts/X11/cyrillic, removing 
from list!
Could not init font path element /usr/share/fonts/X11/Type1, removing 
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1, 
removing from list!
Could not init font path element 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!

I think font-related stuff should not hurt, but I wonder about the first 
line...

Thanks for your help

Florent.

Tiry a écrit :
> 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
>> [email protected]
>> http://lists.nuxeo.com/mailman/listinfo/ecm
>>   
> 
> 
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to