globalcitizen / anytopdf

Automatically exported from code.google.com/p/anytopdf
4 stars 1 forks source link

While passing parameter to anytoPdf it ask for X-server #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install openoffice 
2. install perl script of anytopdf.pl
3. run the command like e.g ./anytopdf a.doc b.pdf

What is the expected output? What do you see instead?
It should convert the doc file to pdf file

What version of the product are you using? On what operating system?
openoffice 3.0,Centos without X-serve

Please provide any additional information below.
it give output as follow :
 Set DISPLAY environment variable, use -display option
   or check permissions of your X-Server
   (See "man X" resp. "man xhost" for details)

Any help will be much appreciated ! Thanks

Dinesh Patil
Nihilent.

Original issue reported on code.google.com by compboy2...@gmail.com on 25 Nov 2009 at 12:53

GoogleCodeExporter commented 9 years ago
by my guess we need to edit the perl script given...but how ? and where ?? 

Original comment by compboy2...@gmail.com on 25 Nov 2009 at 12:54

GoogleCodeExporter commented 9 years ago
Please try running soffice.bin from the same console.  I suspect you will find 
it
fails with the same error.  You need to fix your environment so that it can at 
least
run OpenOffice before trying to use this script.

Should you need to modify the way that OpenOffice is executed, change
`$OPENOFFICE_BINARY_NAME` at the start of the script.

Original comment by walter.stanish@gmail.com on 10 Dec 2009 at 10:30