slowoffice doesn't work

CyberLeo Kitsana cyberleo at cyberleo.net
Thu Jun 14 13:41:27 UTC 2012


On 06/13/2012 11:49 PM, Wojciech Puchar wrote:
> trying to start openoffice shows:
> 
> [wojtek at wojtek ~]$ openoffice-3.4.0-swriter
> XDM authorization key matches an existing
> client!/usr/local/openoffice-3.4.0/openoffice.org3/program/soffice.bin
> X11 error: Can't open display:
>    Set DISPLAY environment variable, use -display option
>    or check permissions of your X-Server
>    (See "man X" resp. "man xhost" for details)
> 
> 
> 
> everything else works, doing
> 
> xhost +
> 
> "fixed" the problem. any idea what is wrong.
> deleting .openoffice doesn't change anything

This was a big problem with certain programs that like to re-exec
themselves very quickly upon startup. It affected Firefox[1] and
Thunderbird[2] circa 2003-2004.

The pedantically correct solution is to fix the limitation in the
xsecurity protocol.

The realistically correct solution is to fix the bug in OpenOffice.

The more useful solution is to put something like this in your
.xinitrc/.xsession script:

----8<----
# Tell X to authorize me
xhost +si:localuser:$(id -un) >&/dev/null
----8<----

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=246313
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=224966

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2011-02/msg00086.html
http://lists.debian.org/debian-devel/2000/11/msg01823.html

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo at CyberLeo.Net>

Furry Peace! - http://wwww.fur.com/peace/


More information about the freebsd-questions mailing list