OpenOffice.org installation without X

Issues with installing under all Linux Distributions

OpenOffice.org installation without X

Postby sagar123 » Thu Mar 17, 2011 10:20 am

Hi
I am trying to install OpenOffice3.3.0 for linux_x86 (64 bit).

Here is what I have done till now:

My server where I am installing OpenOffice does not support X. I installed Xvfb in /usr/X11R6/bin/Xvfb as I learnt that
Xvfb can be used to run OpenOffice in virtual X.

Further I installed OpenOffice from its tar. before that I set the DISPLAY variable to some screen where X is available as it was required.
After getting OpenOffice installed in /opt/openoffice.org3/program/ , I first set DISPLAY for Xvfb as
DISPLAY=1.0
and then I start Xvfb as
Xvfb :1 -screen scrn 800x600x32 &

Now in order to start soffice in other system (ip: a.b.c.d) I am using:

soffice -accept="socket,host=localhost,port=8100;urp;StarOffice.ServiceManager " -display a.b.c.d:0.0
This starts the instance of openoffice on that system but when I am trying to execute similar command on my server (where openoffice is installed, Xvfb is installed and no X is available)
soffice -accept="socket,host=localhost,port=8100;urp;StarOffice.ServiceManager " -display :1.0

which is giving error as:
/opt/openoffice.org3/program/soffice.bin X11 error: Can't open display: :1.0
Set DISPLAY environment variable, use -display option
or check permissions of your X-Server
(See "man X" resp. "man xhost" for details)


on executive the same command in headless mode:
soffice -headless -accept="socket,host=localhost,port=8100;urp;StarOffice.ServiceManager " -display :1.0

following error comes:
Code: Select all   Expand viewCollapse view
Application Error

Fatal exception: Signal 6
Stack:
/opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3[0x2afb6611d1aa]
/opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3[0x2afb6611d2dd]
/opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3[0x2afb6611d369]
/lib64/libc.so.6[0x2afb6712ec10]
/lib64/libc.so.6(gsignal+0x35)[0x2afb6712eb95]
/lib64/libc.so.6(abort+0x110)[0x2afb6712ff90]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so[0x2afb6a4c18e0]
/opt/openoffice.org3/program/../basis-link/program/libsofficeapp.so[0x2afb66510256]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so[0x2afb6a22dc33]
/opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3[0x2afb6611bf02]
/opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3[0x2afb6611d34e]
/lib64/libc.so.6[0x2afb6712ec10]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so[0x2afb6a244450]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so[0x2afb6a24d732]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so[0x2afb6a24e1bc]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so[0x2afb6a24e465]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so(_ZNK12OutputDevice14GetFontCharMapER11FontCharMap+0xed)[0x2afb6a24ea7d]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so(_ZNK12OutputDevice9HasGlyphsERK4FontRK6Stringtt+0xa1)[0x2afb6a24ec81]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so[0x2afb6a419aa6]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so[0x2afb6a42a23e]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so[0x2afb6a42bf73]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so[0x2afb6a39f5f2]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so(_ZN11ModalDialogC2EP6WindowRK5ResId+0x57)[0x2afb6a39fd47]
/opt/openoffice.org3/program/../basis-link/program/libsvtlx.so(_ZN12WizardDialogC2EP6WindowRK5ResId+0x9)[0x2afb68e1c399]
/opt/openoffice.org3/program/../basis-link/program/libsvtlx.so(_ZN3svt14OWizardMachineC2EP6WindowRK5ResIdj+0x1e)[0x2afb68df334e]
/opt/openoffice.org3/program/../basis-link/program/libsvtlx.so(_ZN3svt13RoadmapWizardC2EP6WindowRK5ResIdj+0xe)[0x2afb68def46e]
/opt/openoffice.org3/program/../basis-link/program/libspllx.so[0x2aaaafe58ba4]
/opt/openoffice.org3/program/../basis-link/program/libspllx.so[0x2aaaafe4f000]
/opt/openoffice.org3/program/../basis-link/program/libsofficeapp.so[0x2afb6650d38e]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so[0x2afb6a22ec06]
/opt/openoffice.org3/program/../basis-link/program/libvcllx.so(_Z6SVMainv+0x25)[0x2afb6a22ecf5]
/opt/openoffice.org3/program/../basis-link/program/libsofficeapp.so(soffice_main+0x9c)[0x2afb665368ec]
/opt/openoffice.org3/program/soffice.bin(main+0xb)[0x400fdb]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x2afb6711c154]
/opt/openoffice.org3/program/soffice.bin(__gxx_personality_v0+0xba)[0x400f3a]
/usr/bin/soffice: line 120: 20340 Aborted                 (core dumped) "$sd_prog/$sd_binary" "$@"

How to run instance of Openoffice on my server with the help of Xvfb so that I can use JODConverter successfully?
openoffice 3.1 on Suse
sagar123
 
Posts: 3
Joined: Fri Feb 11, 2011 10:25 am

Re: OpenOffice.org installation without X

Postby hol.sten » Thu Mar 17, 2011 10:54 am

Try this for a totally headless OOo server: OOo 2.3 Headless X11 requirements: http://www.oooforum.org/forum/viewtopic ... t=headless

Or check this for using xvfb: using openoffice headless ( macro, shell, php ): http://www.oooforum.org/forum/viewtopic ... t=headless
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
hol.sten
Volunteer
 
Posts: 493
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: OpenOffice.org installation without X

Postby sagar123 » Thu Mar 17, 2011 12:41 pm

Hi
thanx for responding
I am using openoffice 3.3.0 and it dint include headless RPM so i included headless package in RPMS folder externally and reinstalled openoffice.
But on running soffice with -headless option I am getting same long above error

and on running soffice without headless option, I am getting error as
/opt/openoffice.org3/program/soffice.bin X11 error: Can't open display:
Set DISPLAY environment variable, use -display option
or check permissions of your X-Server

I have installed X in /usr/X11R6/bin/X /usr/bin/X11/X /usr/X11/bin/X
and Xvfb in /usr/X11R6/bin/Xvfb /usr/bin/X11/Xvfb /usr/X11/bin/Xvfb

DISPLAY has been set as export DISPLAY=:1

Thanks
openoffice 3.1 on Suse
sagar123
 
Posts: 3
Joined: Fri Feb 11, 2011 10:25 am

Re: OpenOffice.org installation without X

Postby hol.sten » Thu Mar 17, 2011 2:57 pm

On Ubuntu 10.04 I gave the following commands a try (after installing Xvfb via sudo apt-get install xvfb):
Code: Select all   Expand viewCollapse view
$ Xvfb :3 &
$ soffice -accept="socket,host=localhost,port=8100;urp;StarOffice.ServiceManager " -display :3.0 -nofirststartwizard

I did not use any DISPLAY=... command!

Afterwards I got no error, found Xvfb and soffice.bin in the process list and a listening process for tcp connections at localhost:8100 with netstat -a.

In this thread http://www.oooforum.org/forum/viewtopic.phtml?t=20195 an xhost + command cured a problem with Xvfb.
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
hol.sten
Volunteer
 
Posts: 493
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: OpenOffice.org installation without X

Postby _savage » Tue Dec 09, 2014 11:09 am

Mac 10.11 using LO 5.3.6.1, Gentoo Linux using LO 5.3.4.2 headless.
_savage
 
Posts: 137
Joined: Sun Apr 21, 2013 12:55 am

Re: OpenOffice.org installation without X

Postby _savage » Fri Apr 24, 2015 1:54 pm

There was a recent discussion on this topic over at the LibreOffice developer list: How many degrees of headlessness do we need.
Mac 10.11 using LO 5.3.6.1, Gentoo Linux using LO 5.3.4.2 headless.
_savage
 
Posts: 137
Joined: Sun Apr 21, 2013 12:55 am

Re: OpenOffice.org installation without X

Postby _savage » Tue Dec 05, 2017 2:58 am

Mac 10.11 using LO 5.3.6.1, Gentoo Linux using LO 5.3.4.2 headless.
_savage
 
Posts: 137
Joined: Sun Apr 21, 2013 12:55 am


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest