No suitable windowing system found when starting soffice
Posted: 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.
2.
3.
Also we install Xvfb:
1.
2.
Then we start Xvfb: . `out.log` is empty, but `error.log` contains:
But when we do `soffice --nofirststartwizard --headless --invisible --display :1 -accept="socket,port=8100,host=localhost;urp;StarOffice.ServiceManager"`, we get and the following text in `error.log`:
UPD. We decided to use CentOS 7 instead of RHEL 7. It is pretty easy and works:
1.
Code: Select all
cd en-US/RPMS & rpm -Uvih *rpmCode: Select all
cd desktop-integration & rpm -Uvih openoffice4.1.2-redhat-menus-4.1.2-9782.noarch.rpmCode: Select all
update-alternatives --install /usr/bin/soffice soffice /opt/openoffice4/program/soffice 11.
Code: Select all
wget http://vault.centos.org/7.1.1503/os/x86_64/Packages/xorg-x11-server-Xvfb-1.15.0-32.el7.x86_64.rpmCode: Select all
yum install xorg-x11-server-Xvfb-1.15.0-32.el7.x86_64.rpmCode: Select all
nohup Xvfb :1 -screen 0 800x600x16 >out.log 2>error.log & echo $! > xvfb.pidCode: Select all
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 GLXCode: Select all
no suitable windowing system found, exiting.Code: Select all
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 allocsCode: Select all
yum install xorg-x11-server-Xvfb
yum install libreoffice-impress
yum install libreoffice-writer