Apache OpenOffice (AOO) Bugzilla – Issue 74436
no suitable windowing system found, exiting
Last modified: 2009-08-02 14:08:21 UTC
I'm running Fedora Core 5 on a 64-bit Athlon system. I installed OOo 2.1 with the redhat desktop integration rpm (these were downloaded from the OOo 2.1 website). I'm running 2.1 on a FC6 (32bit) laptop. I also installed in on FC4 64-bit (having to change the startup script to point to swriter - but that's another story). When I type: > openoffice.org-2.1 -writer & I get: # no sutiable windowing system found, exiting. I've searched the web and the issues but found no recent reference to this problem. I did find "it was a known problem" with no other helpful information. There has to be an easier way.
@ cmc: Any idea what mihjt go wrong here?
cmc->tm: I'm afraid not, this is with the upstream rpms, not the fedora ones. cmc->rabil: What GUI are you using, GNOME, KDE or something else, You may find that > export SAL_USE_VCLPLUGIN=gtk openoffice.org-2.1 -writer will force the gtk plugin to be used to get around this problem
rabil wrote that he typed 'openoffice.org-2.1 -writer &'. That tells me that he isn't using builds from http://download.openoffice.org/index.html
He says he downloaded them from www.openoffice.org, and there was no 2.1 OOo release for Fedora Core 5
I'm definitely using the official OOo rpms. I'm using whatever interface FC5 has (I used the redhat rpm for desktop integration.) I will try the export when I can get to the machine. Thanks. Someone else suggested missing/different libraries used by FC5. Works fine in FC6 but I need to type out command to get 2.1.
rabil: which version of X.org/XFree do you use? (X -version) If OOo was compiled and linked against modularized X.org with shared libxau it may produce such error message on non modularized X.org/XFree. For example I cannot run OOo compiled by Debian/Etch (X.org 7.x on Debian/Sarge (XFree 4.3). I can suggest to run OOo with strace: $ strace -fF openoffice.org-2.1 -writer and look at line at the end.
Created attachment 43024 [details] Output from strace
]$ X -version X Window System Version 7.0.0 Release Date: 21 December 2005 X Protocol Version 11, Revision 0, Release 7.0 Build Operating System:Linux 2.6.9-34.ELsmp x86_64Red Hat, Inc. Current Operating System: Linux localhost.localdomain 2.6.17-1.2187_FC5 #1 SMP Mon Sep 11 01:16:59 EDT 2006 x86_64 Build Date: 09 January 2007 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present
OOo still won't run when using export: $ export SAL_USE_VCLPLUGIN=gtk $ openoffice.org-2.1 -writer no suitable windowing system found, exiting.
"Build Operating System:Linux 2.6.9-34.ELsmp x86_64Red Hat, Inc", and I read back and see you have a 64bit FC-5. OOo from www.openoffice.org is 32bit, you may need to install the parallel set of 32bit gtk2 and other 32bit stuff. There indeed might be no suitable 32bit windowing system available Try installing the Fedora Core 5 provided openoffice.org, that's also 32bit and set up to pull in the right dependancies for a 32bit OOo on Fedora 64bit x86_64. Once the Fedora OOo is installed, and forced in the right depends for OOo on 64bit, and you still want to install the www.openoffice.org one, then remove the fedora one and install the www.openoffice.org one and see if that resolves your problems
I had the FC5 version of OOo installed already.
hmm, so maybe this is selinux. The vanilla OOo doesn't really work with selinux I believe, while the fedora one is patched to work correctly there. So what's the output of... /usr/sbin/sestatus
# /usr/sbin/sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: enforcing Mode from config file: enforcing Policy version: 20 Policy from config file: targeted But SELinux is also running on the FC6 computers and OOo 2.1 from the OOo website rpms runs just fine.
I have the same problem with Red Hat Enterprise Linux 3 and 4 uname -a Linux boto.dsc.ufcg.edu.br 2.6.9-42.EL #1 Wed Jul 12 23:16:43 EDT 2006 i686 athlon i386 GNU/Linux
and if selinux is disabled on the offending machines and you then attempt to run this vanilla OOo does it then function ?
I disabled SELinux and OOo 2.1 now runs on FC5. It ran on FC6 without doing this. Now how do I get it to run with SELinux enabled? Thanks.
I've also encountered the "no suitable windowing system found, exiting" issue. package used: Gentoo app-office/openoffice-bin-2.1.0 uname -a Linux birke 2.6.18-hardened-1 #1 PREEMPT Thu Jan 4 21:47:11 CET 2007 x86_64 AMD Turion(tm) 64 Mobile Technology MT-30 AuthenticAMD GNU/Linux X -version X Window System Version 7.1.1 Release Date: 12 May 2006 X Protocol Version 11, Revision 0, Release 7.1.1 Build Operating System: UNKNOWN Current Operating System: Linux birke 2.6.18-hardened-1 #1 PREEMPT Thu Jan 4 21:47:11 CET 2007 x86_64 Build Date: 14 February 2007 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present gnome-session --version Gnome gnome-session 2.16.2 oowriter2 --version This is OpenOffice.org 2.1.0 The first cause is a relative path instead of an absolute one for libvclplug_gen680li.so: SAL_USE_VCLPLUGIN=gtk strace -fF oowriter2 <snip> [pid 25728] open("/usr/lib32/openoffice/program/libportaudio.so.0", O_RDONLY) = 3 [pid 25728] read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\30"..., 512) = 512 [pid 25728] fstat64(0x3, 0xfc46d2cc) = 0 [pid 25728] mmap2(NULL, 26336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfffffffff0aa2000 [pid 25728] mmap2(0xf0aa8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xfffffffff0aa8000 [pid 25728] close(3) = 0 [pid 25728] mprotect(0xef668000, 479232, PROT_READ|PROT_WRITE) = -1 EACCES (Permission denied) [pid 25728] munmap(0xef668000, 552404) = 0 [pid 25728] munmap(0xef58e000, 892064) = 0 [pid 25728] munmap(0xef53d000, 329696) = 0 [pid 25728] munmap(0xf0aa2000, 26336) = 0 [pid 25728] open("./libvclplug_gen680li.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 25728] write(2, "no suitable windowing system fou"..., 45no suitable windowing system found, exiting. <snip> By passing the path issue: cd /usr/lib32/openoffice/program/ && SAL_USE_VCLPLUGIN=gtk strace -fF oowriter2 <snip> [pid 2025] open("/usr/lib32/openoffice/program/./libportaudio.so.0", O_RDONLY) = 3 [pid 2025] read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\30"..., 512) = 512 [pid 2025] fstat64(0x3, 0xff844640) = 0 [pid 2025] mmap2(NULL, 26336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffffffffebfe0000 [pid 2025] mmap2(0xebfe6000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xffffffffebfe6000 [pid 2025] close(3) = 0 [pid 2025] mprotect(0xeaba6000, 479232, PROT_READ|PROT_WRITE) = -1 EACCES (Permission denied) [pid 2025] munmap(0xeaba6000, 552404) = 0 [pid 2025] munmap(0xeaacc000, 892064) = 0 [pid 2025] munmap(0xeaa7b000, 329696) = 0 [pid 2025] munmap(0xebfe0000, 26336) = 0 [pid 2025] write(2, "no suitable windowing system fou"..., 45no suitable windowing system found, exiting. ) = 45 <snip> Disable PAX' MPROTECT and try again: paxctl -m /usr/lib32/openoffice/program/soffice.bin && cd /usr/lib32/openoffice/program/ && SAL_USE_VCLPLUGIN=gtk strace -fF oowriter2 <snip> [pid 4282] open("/etc/ld.so.cache", O_RDONLY) = 6 [pid 4282] fstat64(0x6, 0xff996c64) = 0 [pid 4282] mmap2(NULL, 173260, PROT_READ, MAP_PRIVATE, 6, 0) = 0xfffffffff5ccb000 [pid 4282] close(6) = 0 [pid 4282] open("/lib32/libatk-bridge.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 4282] open("/usr/lib32/libatk-bridge.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 4282] munmap(0xf5ccb000, 173260) = 0 [pid 4282] write(2, "Gtk-Message: Failed to load modu"..., 125Gtk-Message: Failed to load module "atk-bridge": libatk-bridge.so: cannot open shared object file: No such file or directory ) = 125 [pid 4282] uname({sys="Linux", node="birke", ...}) = 0 <snip> Neither libatk-bride.so nor libgail.so were found. Any Ideas?
For selinux we probably need to merge my fedora selinux patches into the vanilla build, i.e. http://cvs.fedora.redhat.com/viewcvs/rpms/openoffice.org/devel/openoffice.org-2.0.3.oooXXXXX.selinux.bridges.patch?rev=1.13&view=log
I was receiving the same error except 'suitable' was spelled correctly. I resolved the problem the "hard" way, but I'll provide my input in hopes that it will help troubleshooting efforts. My OOo-2.1.0 build was working correctly for about a month. I am using a Cross Linux from Scratch-1.0.0, multilib AMD64 base system with an Xfce-4.4 DE on top of Xorg-7.1 (with shared libXau) with all of the patches released by Xorg (and no others) applied. Gtk+-2.10.9 is patched so a sed can be used to change hardcoded lib paths in various Makefiles. Everything built with gcc-4.1.1, binutils-2.17, and glibc-2.4. I do NOT have SELinux installed. OOo-2.1.0 was built from source: Remove the hardcoded -mcpu=pentiumpro: sed -i '/^ARCH_FLAGS\*=/d' solenv/inc/unx{lngi{4,5,6},fbsdi}.mk Configuration: USE_ARCH=64 CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" ./configure --prefix=/opt/openoffice-2.1.0 --libdir=/opt/openoffice-2.1.0/lib64 --enable-ldap --enable-libsn --disable-mozilla --disable-odk --disable-qadevooo --disable-fontooo --enable-cups --enable-cairo --enable-gnome-vfs --disable-build-mozilla --disable-kdeab --disable-binfilter --with-openldap --with-firefox --with-package-format=native --with-system-stdlibs --with-system-zlib --with-system-jpeg --with-system-expat --with-system-freetype --with-system-libxml --with-java --with-lang="en-US" --with-dict=ENUS --enable-libart --with-build-version=weibullone --with-system-python --with-system-nas --with-system-boost The USE_ARCH=64 is specific to the CLFS multilib system; it is used by a wrapper program to ensure the 32- or 64-bit version of ________ is used where appropriate. The BUILD64 environment variable is set to -m64 -march=k8 -O2 -pipe. Recently, I installed the following packages: GTK-Engines, GNOME-Themes, GNOME-Doc-Utils, GNOME-Desktop, GNOME-Backgrounds, GNOME-Menus, libwnck, libsoup, Evolution-Data-Server, GNOME-Panel, GAIL, EEL, libexif, libgsf, Tracker, Nautilus, Metacity, libxklavier, Control Center, GNOME-Session, GNOME-Terminal, libGTop, GNOME-Applets, libgnomecups, libgnomeprint, libgnomeprintui, Yelp, GNOME-User-Docs Afterwards, OOo stopped working whether I used the original Xfce DE or the newly installed GNOME DE and I started to receive the referenced error message. I rebooted my machine using the backup partition which did NOT have these 28 packages installed. OOo worked as expected from the backup partition. Thus, I conclude that one of the 28 packages above borked OOo. Metacity stands out in light of the error message. I then rebuilt OOo-2.1.0 on the production partition (the one having the problem) using the same set of OOo tarballs. After the rebuild, everything OOo worked in both Xfce and GNOME. I no longer receive the error message.
No solution for this problem? Is this still happening with OOo 3.1? Be aware that there is a 64 bit build of OOo 3.1.
Seems to be no longer valid in OOo 3.1
worksforme -> closed