I have installed OOo 2.3 on CentOS-5. Everything seems to work but I had to locate the item reproduced below. Since this is a vital modification I reproduce it here so that it gets a wider audience.
FYI:
OOo 2.3.0 and SELinux: "no suitable windowing system found, exiting."
OpenOffice.org (OOo) 2.3.0 is incompatible with the SELinux technology activated by default in Fedora 7, Fedora Core 6 (and older) and Red Hat Linux system (and, optionally, in other Linux-based systems): see http://www.openoffice.org/issues/show_bug.cgi?id=80816 for more information and current situation.
Symptoms:
* If OpenOffice.org is started from the GUI, it simply doesn't start. * If OpenOffice.org is started from the command line, the error message no suitable windowing system found, exiting. is displayed and OpenOffice.org exists immediately.
The best resolution so far consists in setting the proper security context: execute (as root or with sudo privileges) # chcon -t textrel_shlib_t libvclplug_gen680li.so.1.1 in the program directory in your OOo installation.
A more radical resolution is disabling SELinux altogether (requires root/sudo privileges):
* Command line (as root): # setenforce 0 * GUI: System -> Administration -> Firewall and SELinux -> set "Permissive" mode.
Note that, with the default configuration, SELinux will be restored in "Enforcing" mode upon reboot or instalaltion of a new kernel if you change it via the command-line utility.
La copia letterale e la distribuzione di questo articolo nella sua integrità sono permesse con qualsiasi mezzo, a condizione che questa nota sia riprodotta e che sia mantenuto il collegamento alla versione originale. Autore: Andrea Pescetti, . Ultimo aggiornamento: ooo230-bug.shtml 28/09/2007.
Further follow up. To make this SELinux file context change permanent (for your system) use the following command:
semanage fcontext -a -t textrel_shlib_t \ /opt/org.openoffice/OOo2.3/program/libvclplug_gen680li.so.1.1
Regards,
On Fri, September 28, 2007 17:15, James B. Byrne wrote:
Further follow up. To make this SELinux file context change permanent (for your system) use the following command:
semanage fcontext -a -t textrel_shlib_t \ /opt/org.openoffice/OOo2.3/program/libvclplug_gen680li.so.1.1
To clarify this for those unfamiliar with this sort of thing, you must replace "/opt/org.openoffice/OOo2.3/" with the path to your OpenOffice-2.3 installation directory.
Regards,
On Fri, 28 Sep 2007 17:21:58 -0400 (EDT) "James B. Byrne" byrnejb@harte-lyne.ca took out a #2 pencil and scribbled:
On Fri, September 28, 2007 17:15, James B. Byrne wrote:
Further follow up. To make this SELinux file context change permanent (for your system) use the following command:
semanage fcontext -a -t textrel_shlib_t \ /opt/org.openoffice/OOo2.3/program/libvclplug_gen680li.so.1.1
To clarify this for those unfamiliar with this sort of thing, you must replace "/opt/org.openoffice/OOo2.3/" with the path to your OpenOffice-2.3 installation directory.
Regards,
This is a known problem and there is a bug report upstream about this. Upstream being OO.org.
80816 <---- that is the bug report number for OpenOffice.Org. It's not so much that OO is incompatible with SELinux as it is that particular library. I reported the bug only to find out they knew about it already. I apparently searched for the wrong parameters before filing my bug.
HTH