No suitable windowing system found when starting soffice

Issues with installing under all Linux Distributions

No suitable windowing system found when starting soffice

Postby skozlov » Tue Aug 02, 2016 10:57 am

Hi! We use OpenOffice to convert slides to JPEG images. It works on RHEL 6 (installed from repo via yum), but now we need it on RHEL 7 and cannot find a public repository. So we download the latest RPMs for 64 bit Linux (http://www.openoffice.org/ru/download/), unpack the archive and install:

1.
Code: Select all   Expand viewCollapse view
cd en-US/RPMS & rpm -Uvih *rpm

2.
Code: Select all   Expand viewCollapse view
cd desktop-integration & rpm -Uvih openoffice4.1.2-redhat-menus-4.1.2-9782.noarch.rpm

3.
Code: Select all   Expand viewCollapse view
update-alternatives --install /usr/bin/soffice soffice /opt/openoffice4/program/soffice 1


Also we install Xvfb:

1.
Code: Select all   Expand viewCollapse view
wget http://vault.centos.org/7.1.1503/os/x86_64/Packages/xorg-x11-server-Xvfb-1.15.0-32.el7.x86_64.rpm

2.
Code: Select all   Expand viewCollapse view
yum install xorg-x11-server-Xvfb-1.15.0-32.el7.x86_64.rpm


Then we start Xvfb:
Code: Select all   Expand viewCollapse view
nohup Xvfb :1 -screen 0 800x600x16 >out.log 2>error.log & echo $! > xvfb.pid
. `out.log` is empty, but `error.log` contains:
Code: Select all   Expand viewCollapse view
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension GLX


But when we do `soffice --nofirststartwizard --headless --invisible --display :1 -accept="socket,port=8100,host=localhost;urp;StarOffice.ServiceManager"`, we get
Code: Select all   Expand viewCollapse view
no suitable windowing system found, exiting.
and the following text in `error.log`:

Code: Select all   Expand viewCollapse view
6 XSELINUXs still allocated at reset
SCREEN: 0 objects of 248 bytes = 0 total bytes 0 private allocs
DEVICE: 0 objects of 96 bytes = 0 total bytes 0 private allocs
CLIENT: 0 objects of 136 bytes = 0 total bytes 0 private allocs
WINDOW: 0 objects of 48 bytes = 0 total bytes 0 private allocs
PIXMAP: 1 objects of 16 bytes = 16 total bytes 0 private allocs
GC: 4 objects of 16 bytes = 64 total bytes 0 private allocs
CURSOR: 1 objects of 8 bytes = 8 total bytes 0 private allocs
TOTAL: 6 objects, 88 bytes, 0 allocs
1 PIXMAPs still allocated at reset
PIXMAP: 1 objects of 16 bytes = 16 total bytes 0 private allocs
GC: 4 objects of 16 bytes = 64 total bytes 0 private allocs
CURSOR: 1 objects of 8 bytes = 8 total bytes 0 private allocs
TOTAL: 6 objects, 88 bytes, 0 allocs
4 GCs still allocated at reset
GC: 4 objects of 16 bytes = 64 total bytes 0 private allocs
CURSOR: 1 objects of 8 bytes = 8 total bytes 0 private allocs
TOTAL: 5 objects, 72 bytes, 0 allocs
1 CURSORs still allocated at reset
CURSOR: 1 objects of 8 bytes = 8 total bytes 0 private allocs
TOTAL: 1 objects, 8 bytes, 0 allocs
1 CURSOR_BITSs still allocated at reset
TOTAL: 0 objects, 0 bytes, 0 allocs


UPD. We decided to use CentOS 7 instead of RHEL 7. It is pretty easy and works:

Code: Select all   Expand viewCollapse view
yum install xorg-x11-server-Xvfb
yum install libreoffice-impress
yum install libreoffice-writer
Last edited by skozlov on Tue Aug 09, 2016 8:22 am, edited 2 times in total.
OpenOffice 4.1.2
Red Hat Enterprise Linux Server release 7.2 (Maipo)
skozlov
 
Posts: 2
Joined: Tue Aug 02, 2016 10:11 am

Re: No suitable windowing system found when starting soffice

Postby RoryOF » Tue Aug 02, 2016 11:03 am

I haven't time to follow the detail of your posting (nor will I have today), but looking at it the 800x600x16 colours jumps out at me; try getting that to 1024x768x16 or 24 colours
Apache OpenOffice 4.1.4 on Xubuntu 16.04.03 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 25498
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: No suitable windowing system found when starting soffice

Postby skozlov » Wed Aug 03, 2016 8:07 am

RoryOF wrote:I haven't time to follow the detail of your posting (nor will I have today), but looking at it the 800x600x16 colours jumps out art me; try getting that to 1024x768x16 or 24 colours


It does not help :(
OpenOffice 4.1.2
Red Hat Enterprise Linux Server release 7.2 (Maipo)
skozlov
 
Posts: 2
Joined: Tue Aug 02, 2016 10:11 am


Return to Linux

Who is online

Users browsing this forum: No registered users and 3 guests