Date: Thu, 14 Jun 2012 08:41:20 -0500 From: CyberLeo Kitsana <cyberleo@cyberleo.net> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> Cc: freebsd-questions@freebsd.org Subject: Re: slowoffice doesn't work Message-ID: <4FD9EA00.6000409@cyberleo.net> In-Reply-To: <alpine.BSF.2.00.1206140648210.72545@wojtek.tensor.gdynia.pl> References: <alpine.BSF.2.00.1206140648210.72545@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06/13/2012 11:49 PM, Wojciech Puchar wrote: > trying to start openoffice shows: > > [wojtek@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@CyberLeo.Net> Furry Peace! - http://wwww.fur.com/peace/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FD9EA00.6000409>