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.
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
James B. Byrne
2007-Sep-28 21:15 UTC
[CentOS] Re: FYI CentOS-5, SElinux and OpenOffice-2.3
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, -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
Maybe Matching Threads
- SELinux error message on CentOS 5: "multiple same specifications"
- Oracle Instant Client 11g on CentOS 5 (32-bit) workaround
- Funny stuff in SELinux -- /usr/lib/libGL.so.1.2.#prelink#.4GxqM1
- Cannot get wine working under Fedora 6 test 1
- about module nVidia GeForce 8400 G in Xen